Skip to content

Commit 6e88ba3

Browse files
committed
make test12 verification wait for sacct
1 parent 89d9e04 commit 6e88ba3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

molecule/test12/verify.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
cmd: "sacct --completion --noheader --parsable2"
2424
changed_when: false
2525
register: sacct
26+
until: "sacct.stdout.strip() != ''"
27+
retries: 5
28+
delay: 1
2629
- assert:
2730
that: "(jobid + '|0|wrap|compute|2|testohpc-compute-[0-1]|COMPLETED') in sacct.stdout"
2831
fail_msg: "Didn't find expected output for {{ jobid }} in sacct output: {{ sacct.stdout }}"

0 commit comments

Comments
 (0)