You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@helix.apache.org by lx...@apache.org on 2016/08/17 04:27:09 UTC

[13/33] helix git commit: Fix a task unit test.

Fix a task unit test.


Project: http://git-wip-us.apache.org/repos/asf/helix/repo
Commit: http://git-wip-us.apache.org/repos/asf/helix/commit/57bfc4a2
Tree: http://git-wip-us.apache.org/repos/asf/helix/tree/57bfc4a2
Diff: http://git-wip-us.apache.org/repos/asf/helix/diff/57bfc4a2

Branch: refs/heads/helix-0.6.x
Commit: 57bfc4a211b2f3454c8f00fa3f26262cd1d3922b
Parents: aeb6f3e
Author: Lei Xia <lx...@linkedin.com>
Authored: Tue Mar 22 09:08:09 2016 -0700
Committer: Lei Xia <lx...@linkedin.com>
Committed: Tue Jul 5 14:55:55 2016 -0700

----------------------------------------------------------------------
 .../java/org/apache/helix/integration/task/TestTaskRebalancer.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/helix/blob/57bfc4a2/helix-core/src/test/java/org/apache/helix/integration/task/TestTaskRebalancer.java
----------------------------------------------------------------------
diff --git a/helix-core/src/test/java/org/apache/helix/integration/task/TestTaskRebalancer.java b/helix-core/src/test/java/org/apache/helix/integration/task/TestTaskRebalancer.java
index 74b10fd..9df920b 100644
--- a/helix-core/src/test/java/org/apache/helix/integration/task/TestTaskRebalancer.java
+++ b/helix-core/src/test/java/org/apache/helix/integration/task/TestTaskRebalancer.java
@@ -183,7 +183,7 @@ public class TestTaskRebalancer extends ZkIntegrationTestBase {
 
     // Wait for job to finish and expire
     TaskTestUtil.pollForWorkflowState(_driver, jobName, TaskState.COMPLETED);
-    Thread.sleep(expiry);
+    Thread.sleep(expiry + 100);
 
     // Ensure workflow config and context were cleaned up by now
     Assert.assertFalse(_manager.getHelixPropertyStore().exists(workflowPropStoreKey,