From 929f3892e0fc552e33732aa98859424e4e98e1b9 Mon Sep 17 00:00:00 2001 From: slmnemo Date: Thu, 24 Oct 2024 12:49:46 -0700 Subject: [PATCH] Added code to terminate pool processes on timeout --- bin/regression-wally | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/regression-wally b/bin/regression-wally index 2d741ded8..c833516bf 100755 --- a/bin/regression-wally +++ b/bin/regression-wally @@ -534,6 +534,7 @@ def main(): try: num_fail+=result.get(timeout=TIMEOUT_DUR) except TimeoutError: + pool.terminate() num_fail+=1 print(f"{bcolors.FAIL}%s: Timeout - runtime exceeded %d seconds{bcolors.ENDC}" % (config.cmd, TIMEOUT_DUR))