mirror of
https://github.com/ansible/awx.git
synced 2026-05-22 08:17:39 -02:30
Add retry loop to deletions in collection tests (#15966)
* Add retry loop to deletions in collection tests * Fix bad result stored var use
This commit is contained in:
@@ -452,11 +452,14 @@
|
||||
credential: "{{ cred3 }}"
|
||||
job_type: run
|
||||
state: absent
|
||||
register: result
|
||||
register: del_res
|
||||
until: del_res is succeeded
|
||||
retries: 5
|
||||
delay: 3
|
||||
|
||||
- assert:
|
||||
that:
|
||||
- "result is changed"
|
||||
- "del_res is changed"
|
||||
|
||||
- name: Delete the Demo Project
|
||||
project:
|
||||
@@ -465,7 +468,6 @@
|
||||
state: absent
|
||||
scm_type: git
|
||||
scm_url: https://github.com/ansible/ansible-tower-samples.git
|
||||
register: result
|
||||
|
||||
- name: Delete Credential1
|
||||
credential:
|
||||
@@ -517,4 +519,3 @@
|
||||
organization:
|
||||
name: "{{ org_name }}"
|
||||
state: absent
|
||||
register: result
|
||||
|
||||
Reference in New Issue
Block a user