mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 19:30:39 -03:30
Merge pull request #9575 from jainnikhil30/tower_collection_integration_test_fix
fix tower collection integration test race condition Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
commit
c170d4c4f6
@ -164,6 +164,18 @@
|
||||
that:
|
||||
- "result is changed"
|
||||
|
||||
- name: Wait for a job template to complete
|
||||
tower_job_wait:
|
||||
job_id: "{{ result.id }}"
|
||||
max_interval: 10
|
||||
timeout: 120
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
that:
|
||||
- "result is not changed"
|
||||
- "result.status == 'successful'"
|
||||
|
||||
- name: Get the job
|
||||
tower_job_list:
|
||||
query: {"id": "{{result.id}}"}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user