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

pgamba
03.49.2007 7d8a5959f17b8358931542ce090ce28b7042a4b7
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/ReplicationTestCase.java
@@ -867,8 +867,18 @@
          }
      }
      assertEquals(taskState, expectedTaskState, "Task State:" + taskState +
      if ((expectedTaskState == TaskState.RUNNING)
          && (taskState == TaskState.COMPLETED_SUCCESSFULLY))
      {
        // We usually wait the running state after adding the task
        // and if the task is fast enough then it may be already done
        // and we can go on.
      }
      else
      {
        assertEquals(taskState, expectedTaskState, "Task State:" + taskState +
          " Expected task state:" + expectedTaskState);
      }
    }
    catch(Exception e)
    {