From 5726263fb287767b2ef9024560899761f4ef025e Mon Sep 17 00:00:00 2001 From: Yu Li Date: Wed, 26 Jul 2017 15:48:34 +0800 Subject: [PATCH] HBASE-18441 ZookeeperWatcher#interruptedException should throw exception (addendum) --- .../java/org/apache/hadoop/hbase/zookeeper/TestZKUtil.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 30a07e1d4f1..9990cd1afd3 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;