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

Jean-Noel Rouvignac
23.27.2013 ce143288f4bf0af95255658566f60016686ebb22
ReplicationServerTest.java:
Removed test on number of entries returned:
Eclipse gives me 33, command line run gives me 34, while Jenkins run gives me 32!!!
What a deterministic test!
1 files modified
9 ■■■■■ changed files
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/server/ReplicationServerTest.java 9 ●●●●● patch | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/server/ReplicationServerTest.java
@@ -1362,7 +1362,9 @@
     ReplicationBroker server1 = null;
    try
    {
      assertSearchResult("cn=monitor", "(objectclass=*)", SUCCESS, 33);
      InternalSearchOperation op =
          connection.processSearch("cn=monitor", WHOLE_SUBTREE, "(objectclass=*)");
      assertEquals(op.getResultCode(), SUCCESS, op.getErrorMessage().toString());
       replicationServer.clearDb();
@@ -1408,7 +1410,6 @@
       assertEquals(internalSearch.getResultCode(), ResultCode.SUCCESS);
       assertTrue(internalSearch.getSearchEntries().isEmpty());
       // General search
      assertSearchResult("dc=oops", "(changetype=*)", NO_SUCH_OBJECT, 0);
       // TODO:  testReplicationBackendACIs() is disabled because it
@@ -1419,9 +1420,7 @@
       // this test.
       // testReplicationBackendACIs();
       // General search
      InternalSearchOperation op =
          assertSearchResult("dc=replicationChanges", "(changetype=*)", SUCCESS, 5);
      op = assertSearchResult("dc=replicationChanges", "(changetype=*)", SUCCESS, 5);
       debugInfo("Search result");
       List<SearchResultEntry> entries = op.getSearchEntries();