From 17804df1773f56be1c1354586bae27d0a463b8a0 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Sun, 21 Nov 2010 11:37:17 +0100 Subject: [PATCH] test runner: fix pending threads handling at shutdown --- runtests.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/runtests.py b/runtests.py index a0381c52..16d0adb4 100644 --- a/runtests.py +++ b/runtests.py @@ -863,6 +863,9 @@ def check_thread_termination(ignore_seen=True): continue t.join(timeout=2) if t.isAlive(): + if not ignore_seen: + blocking_threads.append(t) + continue for seen in threads_seen: if t is seen: break -- 2.26.2