HBASE-18441 ZookeeperWatcher#interruptedException should throw exception (addendum)
This commit is contained in:
parent
145f7d8a4d
commit
5726263fb2
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue