Repository: helix Updated Branches: refs/heads/master 5fd72204c -> 884e071f3
[HELIX-427] Write a test for using preference lists as execution queues, fix CI Project: http://git-wip-us.apache.org/repos/asf/helix/repo Commit: http://git-wip-us.apache.org/repos/asf/helix/commit/884e071f Tree: http://git-wip-us.apache.org/repos/asf/helix/tree/884e071f Diff: http://git-wip-us.apache.org/repos/asf/helix/diff/884e071f Branch: refs/heads/master Commit: 884e071f3a9e2f25b241b4c6635052ebc23bb1b4 Parents: 5fd7220 Author: Kanak Biscuitwala <kana...@hotmail.com> Authored: Sat Apr 19 12:00:51 2014 -0700 Committer: Kanak Biscuitwala <kana...@hotmail.com> Committed: Sat Apr 19 12:00:51 2014 -0700 ---------------------------------------------------------------------- .../org/apache/helix/integration/TestPreferenceListAsQueue.java | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/helix/blob/884e071f/helix-core/src/test/java/org/apache/helix/integration/TestPreferenceListAsQueue.java ---------------------------------------------------------------------- diff --git a/helix-core/src/test/java/org/apache/helix/integration/TestPreferenceListAsQueue.java b/helix-core/src/test/java/org/apache/helix/integration/TestPreferenceListAsQueue.java index 633d046..561f084 100644 --- a/helix-core/src/test/java/org/apache/helix/integration/TestPreferenceListAsQueue.java +++ b/helix-core/src/test/java/org/apache/helix/integration/TestPreferenceListAsQueue.java @@ -122,6 +122,8 @@ public class TestPreferenceListAsQueue extends ZkUnitTestBase { final int NUM_REPLICAS = 2; final int NUM_INSTANCES = 2; final String RESOURCE_NAME = "MyResource"; + Thread.sleep(WAIT_TIME); + _instanceList.clear(); // Setup instances String[] instanceInfoArray = {