Merge pull request #8631 from sfc-gh-vgasiunas/vgasiunas-fdbmonitor-in-python

Avoid local cluster tests creating zombie fdbmonitor processes
This commit is contained in:
Junhyun Shim 2022-11-07 14:47:36 +01:00 committed by GitHub
commit 1ee1b6ce4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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):