aboutsummaryrefslogtreecommitdiffstats
path: root/library/python
diff options
context:
space:
mode:
authorprettyboy <prettyboy@yandex-team.com>2023-06-06 12:48:57 +0300
committerprettyboy <prettyboy@yandex-team.com>2023-06-06 12:48:57 +0300
commitce99f77ffb57cc270e43706a4f09a107de0573db (patch)
tree03585c6ff3ce54c10e2c427bc2aed1d54716a313 /library/python
parent8d0a5361300692072804774123e7753775c834d5 (diff)
downloadydb-ce99f77ffb57cc270e43706a4f09a107de0573db.tar.gz
[library/python/testing/yatest_common/yatest/common/process] Wait for process
Diffstat (limited to 'library/python')
-rw-r--r--library/python/testing/yatest_common/yatest/common/process.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/python/testing/yatest_common/yatest/common/process.py b/library/python/testing/yatest_common/yatest/common/process.py
index 156c788359..58524448df 100644
--- a/library/python/testing/yatest_common/yatest/common/process.py
+++ b/library/python/testing/yatest_common/yatest/common/process.py
@@ -465,6 +465,7 @@ def on_timeout_gen_coredump(exec_obj, _):
"""
try:
os.kill(exec_obj.process.pid, signal.SIGQUIT)
+ exec_obj.process.wait()
except OSError:
# process might be already terminated
pass