Fix molecule test `gc.yml` (#132)

* add until loop

* Update gc.yml
This commit is contained in:
abikouo
2021-06-22 08:55:40 +02:00
committed by GitHub
parent 2594ac654b
commit b50f1f2fc9

View File

@@ -46,6 +46,9 @@
wait: yes
wait_timeout: 100
register: job
until: job.resources[0].status.phase == "Running"
retries: 5
delay: 10
- name: Assert job's pod is running
assert:
@@ -87,6 +90,9 @@
wait: yes
wait_timeout: 100
register: job
until: job.resources[0].status.phase == "Running"
retries: 5
delay: 10
- name: Assert job's pod is running
assert:
@@ -129,6 +135,9 @@
wait: yes
wait_timeout: 100
register: job
until: job.resources[0].status.phase == "Running"
retries: 5
delay: 10
- name: Assert job's pod is running
assert: