summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scripts/corebenchrunner/qt.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/corebenchrunner/qt.py b/scripts/corebenchrunner/qt.py
index 56af71ec..1bd922a1 100644
--- a/scripts/corebenchrunner/qt.py
+++ b/scripts/corebenchrunner/qt.py
@@ -129,6 +129,8 @@ class TestFile:
try:
await asyncio.wait_for(process.wait(), timeout=TEST_TIMEOUT)
except asyncio.TimeoutError:
+ process.terminate()
+ await process.wait()
return TestFileIssue(
test_file=self, description=f"Test timed out after {TEST_TIMEOUT} seconds"
)