From d11974c71786ba4d210fe053b2a5203546228a9d Mon Sep 17 00:00:00 2001 From: James Prestwood Date: Thu, 22 Apr 2021 10:37:41 -0700 Subject: [PATCH] test-runner: add timeout for waiting for process to finish If a process hangs on exit test-runner would sit indefinitely waiting. --- tools/test-runner | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/test-runner b/tools/test-runner index bbb25925..c3a5ff89 100755 --- a/tools/test-runner +++ b/tools/test-runner @@ -242,7 +242,7 @@ class Process: if not wait and not check: return - self.pid.wait() + self.pid.wait(timeout=5) self.killed = True self.stdout.seek(self.io_position)