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

Jean-Noel Rouvignac
02.50.2013 69420fa7cf98b53103c30f8959c1e65d21441da4
Maybe the end of endless pain and suffering on the Continuous Integration front.

In ExternalChangeLogTest.ECLReplicationServerFullTest(), it looks like the server does not have the time to trim the last "changetype: delete" from the previous tests method, so let's force the test to clear the changelogDB before it finishes.

ExternalChangeLogTest.java:
In ECLReplicationServerFullTest(), called clearChangelogDB() in the finally block to force cleaning test data.
1 files modified
3 ■■■■■ changed files
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/server/ExternalChangeLogTest.java 3 ●●●●● patch | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/server/ExternalChangeLogTest.java
@@ -1015,6 +1015,9 @@
    finally
    {
      stop(server01);
      // lets clear the last "changeType: delete" from the changelogDB
      // it is failing to do it on slower machines
      clearChangelogDB(replicationServer);
      // And reset changelog purge delay for the other tests.
      replicationServer.getChangelogDB().setPurgeDelay(15 * 1000);
    }