From: Aleksey Maksimov Date: Fri, 25 Apr 2014 13:59:10 +0000 (+0800) Subject: Added small delay to let jenkins catchup X-Git-Tag: v0.2.23~20^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=faa409fd3baa08b7c86d5ff6351f6d1068a3a5d1;p=tools%2Fpython-jenkinsapi.git Added small delay to let jenkins catchup --- diff --git a/jenkinsapi_tests/systests/test_queue.py b/jenkinsapi_tests/systests/test_queue.py index e02b08f..2576cdc 100644 --- a/jenkinsapi_tests/systests/test_queue.py +++ b/jenkinsapi_tests/systests/test_queue.py @@ -52,6 +52,7 @@ class TestQueue(BaseSystemTest): job_name = random_string() j = self.jenkins.create_job(job_name, LONG_RUNNING_JOB) j.invoke() + time.sleep(1) self.assertTrue(j.is_queued_or_running()) while j.is_queued():