Avoid local_cluster.py creating zombie fdbmonitor processes

This commit is contained in:
Vaidas Gasiunas 2022-10-31 15:59:02 +01:00
parent 65aeeff2a2
commit 0802bbfbb0
1 changed files with 1 additions and 0 deletions

View File

@ -275,6 +275,7 @@ logdir = {logdir}
assert self.running, "Server is not running"
if self.process.poll() is None:
self.process.terminate()
self.process.communicate(timeout=10)
self.running = False
def ensure_ports_released(self, timeout_sec=5):