XComp commented on code in PR #20378:
URL: https://github.com/apache/flink/pull/20378#discussion_r931134874


##########
flink-runtime/src/test/java/org/apache/flink/runtime/zookeeper/ZooKeeperResource.java:
##########
@@ -48,7 +49,7 @@ private void verifyIsRunning() {
     @Override
     protected void before() throws Throwable {
         terminateZooKeeperServer();
-        zooKeeperServer = new TestingServer(true);
+        zooKeeperServer = 
ZooKeeperTestUtils.createAndStartZookeeperTestingServer();

Review Comment:
   I overlooked the `zooKeeperServer.stop()` method here. We could change to 
`close()` as well



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to