mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

neil_a_wilson
10.39.2007 d1c705424284228b5f37fe9a05fd619c74d2112c
Disable the JMX checkPostConnectDisconnectPlugin test case because it is
frequently causing test failures. Further, rename the class containing it so
that it begins with a capital letter as per Java naming conventions.
1 files renamed
18 ■■■■ changed files
opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/jmx/PostConnectedDisconnectTest.java 18 ●●●● patch | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/jmx/PostConnectedDisconnectTest.java
File was renamed from opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/jmx/postConnectedDisconnectTest.java
@@ -44,12 +44,12 @@
 * This class check is the pos-connected and post-disconnected plugin are
 * called (see issue #728).
 */
public class postConnectedDisconnectTest extends JmxTestCase
public class PostConnectedDisconnectTest extends JmxTestCase
{
  /**
   * Set up the environment for performing the tests in this suite.
   *
   *
   * @throws Exception
   *           If the environment could not be set up.
   */
@@ -57,7 +57,7 @@
  public void setUp() throws Exception
  {
    super.setUp();
    TestCaseUtils.addEntries(
        "dn: cn=Privileged User,o=test",
        "objectClass: top",
@@ -85,10 +85,10 @@
        "ds-pwp-password-policy-dn: cn=Clear UserPassword Policy," +
             "cn=Password Policies,cn=config");
  }
  /**
   * Clean up the environment after performing the tests in this suite.
   *
   *
   * @throws Exception
   *           If the environment could not be set up.
   */
@@ -102,13 +102,13 @@
        .decode("cn=Privileged User,o=test"));
    assertEquals(deleteOperation.getResultCode(), ResultCode.SUCCESS);
  }
  /**
   * Perform a simple connect.
   * @throws Exception If something wrong occurs.
   */
  @Test(enabled = true, groups = {"slow"})
  public void checkPostconnectDisconnectPlugin() throws Exception
  @Test(enabled = false, groups = {"slow"})
  public void checkPostConnectDisconnectPlugin() throws Exception
  {
    // Before the test, how many time postconnect and postdisconnect
    // have been called.