Skip to content

Commit b6c607b

Browse files
Github CI fix
1 parent 15b8a88 commit b6c607b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

zookeeper-api/src/test/java/org/apache/helix/zookeeper/impl/ZkTestBase.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public void afterSuite() throws IOException {
109109

110110
// Shut down ContainerManagers
111111
_zkServerContainerManagerMap.values().forEach(ContainerManager::stop);
112-
112+
113113
// Shut down all ZkServers
114114
_zkServerMap.values().forEach(ZkServer::shutdown);
115115
}
@@ -153,8 +153,9 @@ private static ContainerManager createContainerManager(ZkServer zkServer) {
153153
return new ContainerManager(
154154
zooKeeperServer.getZKDatabase(),
155155
firstProcessor,
156-
100, // Check interval in ms
157-
100 // Max containers to check per interval
156+
10, // Check interval in ms
157+
100, // Max containers to check per interval
158+
10 // the max time in milliseconds that a container that has never had any children is retained
158159
) {
159160
@Override
160161
protected long getElapsed(DataNode node) {

0 commit comments

Comments
 (0)