From: Aleksey Maksimov Date: Sat, 26 Apr 2014 07:11:58 +0000 (+0800) Subject: Added short delay to let job run for a bit X-Git-Tag: v0.2.23~20^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0969e906791db0f00f6e40685ba5604124828f43;p=tools%2Fpython-jenkinsapi.git Added short delay to let job run for a bit --- diff --git a/jenkinsapi_tests/systests/test_queue.py b/jenkinsapi_tests/systests/test_queue.py index 2576cdc..c51c6a2 100644 --- a/jenkinsapi_tests/systests/test_queue.py +++ b/jenkinsapi_tests/systests/test_queue.py @@ -58,6 +58,9 @@ class TestQueue(BaseSystemTest): while j.is_queued(): time.sleep(0.5) + if j.is_running(): + time.sleep(1) + j.get_first_build().stop() self.assertFalse(j.is_queued_or_running())