Skip to content

Commit c1419fa

Browse files
committed
stable test
1 parent c2f5eba commit c1419fa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

helix-core/src/test/java/org/apache/helix/integration/TestZkCallbackHandlerLeak.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -472,6 +472,8 @@ public void testCurrentStatePathLeakingByAsycRemoval() throws Exception {
472472
jobAccesor.setProperty(jobKey, cs);
473473
}
474474

475+
// verify new watcher is installed on the new node
476+
Thread.sleep(5000);
475477
Map<String, Set<String>> listenersByZkPath = ZkTestHelper.getListenersByZkPath(ZK_ADDR);
476478
Assert.assertTrue(listenersByZkPath.keySet().contains(jobKey.getPath()));
477479
rpWatchPaths = ZkTestHelper.getZkWatch(rpManager.getZkClient());

0 commit comments

Comments
 (0)