Fix test race in test_container_jobs
The test case test_container_jobs has a race. It asserts two jobs with enforced order. However the jobs triggered aren't forces into any particular order so in some cases the validation fails. Fix this by asserting unordered. Change-Id: I22908cf5b4ed0117cdb93b226f70cf4f9d851795
This commit is contained in:
parent
6a9d029834
commit
80bac8d30c
|
@ -4770,7 +4770,7 @@ class TestContainerJobs(AnsibleZuulTestCase):
|
|||
self.assertHistory([
|
||||
dict(name='container-machine', result='SUCCESS', changes='1,1'),
|
||||
dict(name='container-native', result='SUCCESS', changes='1,1'),
|
||||
])
|
||||
], ordered=False)
|
||||
|
||||
|
||||
class TestProvidesRequiresPause(AnsibleZuulTestCase):
|
||||
|
|
Loading…
Reference in New Issue