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

gbellato
11.43.2008 fcd6a4920d834159fd795c8a113ca1b96dc70608
Add dependencies between the tests in ReplicationServerTest to
force searchBackend test to be run before the other test and
avoid tests failures when using Java 5
1 files modified
8 ■■■■ changed files
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/server/ReplicationServerTest.java 8 ●●●● patch | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/server/ReplicationServerTest.java
@@ -187,7 +187,7 @@
   * This method is used to make sure that this order is always respected.
   * (Using testng dependency does not work)
   */
  @Test(enabled=true)
  @Test(enabled=true, dependsOnMethods = { "searchBackend"})
  public void replicationServerTest() throws Exception
  {
    replicationServer.clearDb();
@@ -214,7 +214,7 @@
   * test is disabled and should only be enabled in workspaces but never
   * committed in the repository.
   */
  @Test(enabled=false)
  @Test(enabled=false, dependsOnMethods = { "searchBackend"})
  public void replicationServerTestLoop() throws Exception
  {
    replicationServer.clearDb();
@@ -558,7 +558,7 @@
   * This test is configured by a relatively low stress
   * but can be changed using TOTAL_MSG and CLIENT_THREADS consts.
   */
  @Test(enabled=true)
  @Test(enabled=true, dependsOnMethods = { "searchBackend"})
  public void oneWriterMultipleReader() throws Exception
  {
    debugInfo("Starting oneWriterMultipleReader");
@@ -654,7 +654,7 @@
   * This test is configured for a relatively low stress
   * but can be changed using TOTAL_MSG and THREADS consts.
   */
  @Test()
  @Test(dependsOnMethods = { "searchBackend"})
  public void multipleWriterMultipleReader() throws Exception
  {
    debugInfo("Starting multipleWriterMultipleReader");