hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l...@apache.org
Subject hbase git commit: HBASE-18441 ZookeeperWatcher#interruptedException should throw exception (addendum)
Date Wed, 26 Jul 2017 07:49:06 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1 145f7d8a4 -> 5726263fb


HBASE-18441 ZookeeperWatcher#interruptedException should throw exception (addendum)


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

Branch: refs/heads/branch-1
Commit: 5726263fb287767b2ef9024560899761f4ef025e
Parents: 145f7d8
Author: Yu Li <liyu@apache.org>
Authored: Wed Jul 26 15:48:34 2017 +0800
Committer: Yu Li <liyu@apache.org>
Committed: Wed Jul 26 15:48:34 2017 +0800

----------------------------------------------------------------------
 .../test/java/org/apache/hadoop/hbase/zookeeper/TestZKUtil.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/5726263f/hbase-client/src/test/java/org/apache/hadoop/hbase/zookeeper/TestZKUtil.java
----------------------------------------------------------------------
diff --git a/hbase-client/src/test/java/org/apache/hadoop/hbase/zookeeper/TestZKUtil.java
b/hbase-client/src/test/java/org/apache/hadoop/hbase/zookeeper/TestZKUtil.java
index 30a07e1..9990cd1 100644
--- a/hbase-client/src/test/java/org/apache/hadoop/hbase/zookeeper/TestZKUtil.java
+++ b/hbase-client/src/test/java/org/apache/hadoop/hbase/zookeeper/TestZKUtil.java
@@ -107,9 +107,9 @@ public class TestZKUtil {
       }
     };
     Mockito.doThrow(new InterruptedException()).when(recoverableZk)
-        .getChildren(zkw.znodePaths.baseZNode, null);
+        .getChildren(zkw.assignmentZNode, null);
     try {
-      ZKUtil.listChildrenNoWatch(zkw, zkw.znodePaths.baseZNode);
+      ZKUtil.listChildrenNoWatch(zkw, zkw.assignmentZNode);
     } catch (KeeperException.SystemErrorException e) {
       // expected
       return;


Mime
View raw message