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

Ludovic Poitou
24.04.2011 2569b771a69bddc8cf0e83daf8705a45be2087da
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/ExternalChangeLogTest.java
@@ -175,6 +175,7 @@
   *           If the environment could not be set up.
   */
  @BeforeClass
  @Override
  public void setUp() throws Exception
  {
    super.setUp();
@@ -436,7 +437,7 @@
    ECLCompatTestLimits(1,8, true);
    // Test first and last draft changenumber, a dd a new change, do not
    // search again the ECL, but search fro first and last
    // search again the ECL, but search for first and last
    ECLCompatTestLimitsAndAdd(1,8, ts);
    // Test DraftCNDb is purged when replication change log is purged
@@ -929,7 +930,7 @@
    ReplicationBroker s1test2 = null;
    ReplicationBroker s2test = null;
    ReplicationBroker s2test2 = null;
    try
    {
      // Initialize a second test backend
@@ -2699,7 +2700,7 @@
      if (s1 != null)
      {
        try { s1.close(); } catch (Exception ignored) {};
        while (!s1.isClosed()) sleep(100);
        while (!s1.isClosed()) sleep(100);
      }
      if (s2 != null)
      {
@@ -2868,12 +2869,12 @@
    // Initialize a second test backend
    Backend backend2 = null;
    try
    {
      backend2 = initializeTestBackend(true, TEST_ROOT_DN_STRING2,
          TEST_BACKEND_ID2);
      // --
      s1test = openReplicationSession(
          DN.decode(TEST_ROOT_DN_STRING),  1201,