From 781625acc01d7d57d2bda4194f098db85638681c Mon Sep 17 00:00:00 2001 From: Lucas Meneghel Rodrigues Date: Fri, 25 Jul 2014 11:28:12 -0300 Subject: [PATCH] avocado.job: Get rid of timeout in Queue.get() call The timeout there is unnecessary and introduces races. Signed-off-by: Lucas Meneghel Rodrigues --- avocado/job.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/avocado/job.py b/avocado/job.py index 4a2bde54..15fae08d 100644 --- a/avocado/job.py +++ b/avocado/job.py @@ -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]: -- GitLab