Skip to content

Commit 49a784d

Browse files
committed
stable test
1 parent 2cf1a6c commit 49a784d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

helix-core/src/main/java/org/apache/helix/NotificationContext.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ public boolean getIsChildChange() {
233233
return _isChildChange;
234234
}
235235

236-
public void setIsChildChange(boolean cc) {
237-
this._isChildChange = cc;
236+
public void setIsChildChange(boolean isChildChange) {
237+
this._isChildChange = isChildChange;
238238
}
239239
}

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)