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

Matthew Swift
09.25.2011 356f2e12e81db1c0ddd4573d0224d68d74da0aec
Tag unit tests which regularly cause Jenkins builds to fail (see OPENDJ-256). The following tests have been tagged:

org.opends.server.replication.server.ReplicationServerTest#replicationServerConnected
org.opends.server.replication.server.ReplicationServerTest#multipleWriterMultipleReader
org.opends.server.replication.server.AssuredReplicationServerTest#testSafeDataLevelOne

Other tests listed in OPENDJ-256 do not fail as frequently but may be disabled in a subsequent change.
2 files modified
8 ■■■■■ changed files
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/server/AssuredReplicationServerTest.java 4 ●●● patch | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/server/ReplicationServerTest.java 4 ●●●● patch | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/server/AssuredReplicationServerTest.java
@@ -1276,7 +1276,9 @@
   * - 1 optional other fake RS connected to RS, with same GID as RS or not
   * All possible combinations tested thanks to the provider
   */
  @Test(dataProvider = "testSafeDataLevelOneProvider", groups = "slow", enabled = true)
  @Test(dataProvider = "testSafeDataLevelOneProvider",
        groups = { "slow", "opendj-256" },
        enabled = true)
  public void testSafeDataLevelOne(
      int mainDsGid, boolean otherFakeDS, boolean fakeRS,
      int otherFakeDsGid, int fakeRsGid) throws Exception
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/server/ReplicationServerTest.java
@@ -658,7 +658,7 @@
   * This test is configured for a relatively low stress
   * but can be changed using TOTAL_MSG and THREADS consts.
   */
  @Test(enabled=true, dependsOnMethods = { "searchBackend"})
  @Test(enabled=true, dependsOnMethods = { "searchBackend"}, groups = "opendj-256")
  public void multipleWriterMultipleReader() throws Exception
  {
    debugInfo("Starting multipleWriterMultipleReader");
@@ -1758,7 +1758,7 @@
    * - Make client 1 publish a change
    * - Check that client 2 does not receive the change
    */
    @Test(enabled=true, dependsOnMethods = { "searchBackend"})
    @Test(enabled=true, dependsOnMethods = { "searchBackend"}, groups = "opendj-256")
    public void replicationServerConnected() throws Exception
    {
      replicationServer.clearDb();