Repository: helix
Updated Branches:
  refs/heads/master b5c72bc16 -> dd3f1e4a6


[HELIX-680] add system setting to unblock TestZkCallbackHandlerLeak test with 
zookeeper 3.4.11 upgrade


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

Branch: refs/heads/master
Commit: dd3f1e4a681e5c8e58ba3a1ebbf75ba0861ff456
Parents: b5c72bc
Author: hrzhang <[email protected]>
Authored: Fri Mar 9 12:20:16 2018 -0800
Committer: hrzhang <[email protected]>
Committed: Wed Mar 14 10:08:38 2018 -0700

----------------------------------------------------------------------
 helix-core/src/test/java/org/apache/helix/ZkUnitTestBase.java | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/helix/blob/dd3f1e4a/helix-core/src/test/java/org/apache/helix/ZkUnitTestBase.java
----------------------------------------------------------------------
diff --git a/helix-core/src/test/java/org/apache/helix/ZkUnitTestBase.java 
b/helix-core/src/test/java/org/apache/helix/ZkUnitTestBase.java
index f3010f6..4437899 100644
--- a/helix-core/src/test/java/org/apache/helix/ZkUnitTestBase.java
+++ b/helix-core/src/test/java/org/apache/helix/ZkUnitTestBase.java
@@ -73,6 +73,9 @@ public class ZkUnitTestBase {
 
   @BeforeSuite(alwaysRun = true)
   public void beforeSuite() throws Exception {
+    // Due to ZOOKEEPER-2693 fix, we need to specify whitelist for execute zk 
commends
+    System.setProperty("zookeeper.4lw.commands.whitelist", "*");
+
     _zkServer = TestHelper.startZkServer(ZK_ADDR);
     AssertJUnit.assertTrue(_zkServer != null);
     ZKClientPool.reset();

Reply via email to