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

Jean-Noel Rouvignac
02.50.2013 506a85bd75116d11042bc20f0938083aa32ec58c
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
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/server/ExternalChangeLogTest.java 3 ●●●●● patch | view | raw | blame | history
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);
    }