File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
zookeeper-api/src/test/java/org/apache/helix/zookeeper/impl Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff 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 ) {
You can’t perform that action at this time.
0 commit comments