Set iterate_timeout to 60 for pause jobs
For some reason we had a mix / match of 30 / 60 seconds. Given that we've seen test_job_pause_retry timeout at 30 seconds, but to 60 and see if that fixes things. Change-Id: I0342c11b932590a3fe56b0e2af6264979f692c93 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
17b0078b0a
commit
298f93ddfd
|
@ -5056,7 +5056,7 @@ class TestJobPause(AnsibleZuulTestCase):
|
|||
# the queue. waitUltilSettled can return either directly after the job
|
||||
# pause or after the child jobs are enqueued. So to make this
|
||||
# deterministic we wait for the child jobs here
|
||||
for _ in iterate_timeout(30, 'waiting for child jobs'):
|
||||
for _ in iterate_timeout(60, 'waiting for child jobs'):
|
||||
if len(self.builds) == 4:
|
||||
break
|
||||
self.waitUntilSettled("child jobs are running")
|
||||
|
@ -5067,7 +5067,7 @@ class TestJobPause(AnsibleZuulTestCase):
|
|||
# Now resume resume the compile2 sub tree so we can later check if all
|
||||
# children restarted
|
||||
self.executor_server.release('compile2')
|
||||
for _ in iterate_timeout(30, 'waiting for child jobs'):
|
||||
for _ in iterate_timeout(60, 'waiting for child jobs'):
|
||||
if len(self.builds) == 5:
|
||||
break
|
||||
self.waitUntilSettled("release compile2")
|
||||
|
@ -5089,7 +5089,7 @@ class TestJobPause(AnsibleZuulTestCase):
|
|||
self.waitUntilSettled("Stop job")
|
||||
|
||||
# Only compile1 must be waiting
|
||||
for _ in iterate_timeout(30, 'waiting for compile1 job'):
|
||||
for _ in iterate_timeout(60, 'waiting for compile1 job'):
|
||||
if len(self.builds) == 1:
|
||||
break
|
||||
self.waitUntilSettled("only compile1 is running")
|
||||
|
@ -5102,7 +5102,7 @@ class TestJobPause(AnsibleZuulTestCase):
|
|||
# The "pause" job might be paused during the waitUntilSettled
|
||||
# call and appear settled; it should automatically resume
|
||||
# though, so just wait for it.
|
||||
for x in iterate_timeout(30, 'paused job'):
|
||||
for x in iterate_timeout(60, 'paused job'):
|
||||
if not self.builds:
|
||||
break
|
||||
self.waitUntilSettled()
|
||||
|
@ -5140,7 +5140,7 @@ class TestJobPause(AnsibleZuulTestCase):
|
|||
# The "pause" job might be paused during the waitUntilSettled
|
||||
# call and appear settled; it should automatically resume
|
||||
# though, so just wait for it.
|
||||
for x in iterate_timeout(30, 'paused job'):
|
||||
for x in iterate_timeout(60, 'paused job'):
|
||||
if not self.builds:
|
||||
break
|
||||
self.waitUntilSettled()
|
||||
|
|
Loading…
Reference in New Issue