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

Matthew Swift
12.55.2014 b6c44bfd262ec439715087a590b4bf935e49bad2
Fix broken termination condition in testTask().
1 files modified
2 ■■■ changed files
opendj3-server-dev/tests/unit-tests-testng/src/server/org/opends/server/tasks/TasksTestCase.java 2 ●●● patch | view | raw | blame | history
opendj3-server-dev/tests/unit-tests-testng/src/server/org/opends/server/tasks/TasksTestCase.java
@@ -89,7 +89,7 @@
      completionTime = parseAttribute(resultEntry, ATTR_TASK_COMPLETION_TIME).asString();
      timedOut = System.currentTimeMillis() - startMillisecs > 1000 * timeout;
    }
    while (completionTime == null && timedOut);
    while (completionTime == null && !timedOut);
    assertNotNull(completionTime, "The task had not completed after " + timeout + " seconds.\n"
        + "resultEntry=[" + resultEntry + "]");