Commit 17804df1 authored by Stefan Behnel's avatar Stefan Behnel

test runner: fix pending threads handling at shutdown

parent 081f731b
...@@ -863,6 +863,9 @@ def check_thread_termination(ignore_seen=True): ...@@ -863,6 +863,9 @@ def check_thread_termination(ignore_seen=True):
continue continue
t.join(timeout=2) t.join(timeout=2)
if t.isAlive(): if t.isAlive():
if not ignore_seen:
blocking_threads.append(t)
continue
for seen in threads_seen: for seen in threads_seen:
if t is seen: if t is seen:
break break
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment