helix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ka...@apache.org
Subject git commit: [HELIX-381] ClusterStateVerifier can now work with a subset of resources, test fix
Date Thu, 27 Feb 2014 18:30:46 GMT
Repository: helix
Updated Branches:
  refs/heads/master c5d396dcb -> 74b754c8d


[HELIX-381] ClusterStateVerifier can now work with a subset of resources, test fix


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

Branch: refs/heads/master
Commit: 74b754c8d677b1ca62a6d4eb3af6f0ba446b3a9a
Parents: c5d396d
Author: Kanak Biscuitwala <kanak@apache.org>
Authored: Thu Feb 27 10:30:35 2014 -0800
Committer: Kanak Biscuitwala <kanak@apache.org>
Committed: Thu Feb 27 10:30:35 2014 -0800

----------------------------------------------------------------------
 .../test/java/org/apache/helix/tools/TestClusterStateVerifier.java | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/helix/blob/74b754c8/helix-core/src/test/java/org/apache/helix/tools/TestClusterStateVerifier.java
----------------------------------------------------------------------
diff --git a/helix-core/src/test/java/org/apache/helix/tools/TestClusterStateVerifier.java
b/helix-core/src/test/java/org/apache/helix/tools/TestClusterStateVerifier.java
index 9276dcd..22aa1ff 100644
--- a/helix-core/src/test/java/org/apache/helix/tools/TestClusterStateVerifier.java
+++ b/helix-core/src/test/java/org/apache/helix/tools/TestClusterStateVerifier.java
@@ -114,7 +114,9 @@ public class TestClusterStateVerifier extends ZkUnitTestBase {
     _admin.enableInstance(_clusterName, "localhost_12918", false);
     Thread.sleep(1000);
     _admin.enableCluster(_clusterName, false);
+    Thread.sleep(1000);
     _admin.enableInstance(_clusterName, "localhost_12918", true);
+    Thread.sleep(1000);
     boolean result =
         ClusterStateVerifier.verifyByZkCallback(new BestPossAndExtViewZkVerifier(ZK_ADDR,
             _clusterName, null, Sets.newHashSet(RESOURCES[1])));


Mime
View raw message