avocado.job: Get rid of timeout in Queue.get() call

The timeout there is unnecessary and introduces races.
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
上级 2591a6b9
......@@ -150,7 +150,7 @@ class TestRunner(object):
# If there's nothing inside the queue after timeout, the process
# must be terminated.
send_signal(p, signal.SIGUSR1)
test_instance = q.get(timeout=0.1)
test_instance = q.get()
self.result.check_test(test_instance)
if not status.mapping[test_instance.status]:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册