Skip to content

Commit

Permalink
Fix molecule test gc.yml (#132)
Browse files Browse the repository at this point in the history
* add until loop

* Update gc.yml
  • Loading branch information
abikouo authored Jun 22, 2021
1 parent 2594ac6 commit b50f1f2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions molecule/default/tasks/gc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit b50f1f2

Please sign in to comment.