Repository: curator
Updated Branches:
  refs/heads/CURATOR-411 70588f92e -> 88d56219e


overload setState() to avoid bogus log message


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

Branch: refs/heads/CURATOR-411
Commit: 27ddd8c90042ca7abc667edb63504d081a1ca1b4
Parents: 70588f9
Author: randgalt <[email protected]>
Authored: Tue May 9 10:50:35 2017 +0200
Committer: randgalt <[email protected]>
Committed: Tue May 9 10:50:35 2017 +0200

----------------------------------------------------------------------
 .../java/org/apache/curator/test/TestingZooKeeperMain.java    | 7 +++++++
 1 file changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/curator/blob/27ddd8c9/curator-test/src/main/java/org/apache/curator/test/TestingZooKeeperMain.java
----------------------------------------------------------------------
diff --git 
a/curator-test/src/main/java/org/apache/curator/test/TestingZooKeeperMain.java 
b/curator-test/src/main/java/org/apache/curator/test/TestingZooKeeperMain.java
index f0cf68a..2f6518f 100644
--- 
a/curator-test/src/main/java/org/apache/curator/test/TestingZooKeeperMain.java
+++ 
b/curator-test/src/main/java/org/apache/curator/test/TestingZooKeeperMain.java
@@ -272,6 +272,13 @@ public class TestingZooKeeperMain implements 
ZooKeeperMainFace
             return firstProcessor;
         }
 
+        @Override
+        protected void setState(State state)
+        {
+            this.state = state;
+            // avoid ZKShutdownHandler is not registered message
+        }
+
         protected void registerJMX()
         {
             // NOP

Reply via email to