diff --git a/test/basetest/utils.py b/test/basetest/utils.py index 200066c94..12e5bd975 100644 --- a/test/basetest/utils.py +++ b/test/basetest/utils.py @@ -160,7 +160,7 @@ def _retrieve_output(thread, timeout, queue, thread_error): """ # Try to join the thread on failure abort thread.join(timeout) - if thread.isAlive(): + if thread.is_alive(): # Join should have killed the thread. This is unexpected raise TimeoutWaitingFor(thread_error + ". Unexpected error")