We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6311b6 commit 47aa9e9Copy full SHA for 47aa9e9
ansible/ci/check_sacct_hpctests.yml
@@ -2,7 +2,7 @@
2
gather_facts: false
3
become: true
4
vars:
5
- sacct_stdout_expected: |- # based on CI running hpctests as the first job - NB note no trailing newline
+ sacct_stdout_expected: |- # based on CI running hpctests as the first job
6
JobID,JobName,State
7
1,pingpong.sh,COMPLETED
8
2,pingmatrix.sh,COMPLETED
@@ -18,10 +18,10 @@
18
register: sacct
19
- name: Check info for ended jobs
20
assert:
21
- that: sacct.stdout == sacct_stdout_expected
+ that: sacct_stdout_expected in sacct.stdout
22
fail_msg: |
23
Expected:
24
--{{ sacct_stdout_expected }}--
25
Got:
26
--{{ sacct.stdout }}--
27
- success_msg: sacct shows hpctests jobs as first and only jobs
+ success_msg: sacct shows hpctests jobs as first jobs in list
0 commit comments