diff options
author | Martin Krizek <martin.krizek@gmail.com> | 2023-02-09 15:49:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-09 15:49:07 +0100 |
commit | 09e0fb3516a793009a1b2ac8bfcc758016a10c6d (patch) | |
tree | 1907e24d2676c55db840b8bc320064f40c322543 /test/integration/targets/callback_default/runme.sh | |
parent | don't ignore templated _raw_params that k=v parser failed to parse (#79913) (diff) | |
download | ansible-09e0fb3516a793009a1b2ac8bfcc758016a10c6d.tar.xz ansible-09e0fb3516a793009a1b2ac8bfcc758016a10c6d.zip |
Change ansible_job_id format (#79951)
* Change ansible_job_id format
...to be something that does not resemble float or other type which
value could be changed by literal_eval that jinja2_native uses.
Specifically the format of '%d.%d' is converted from str to float and
then back to float which may result in truncating the number resulting
in the job not being found because the job id does not exist.
Diffstat (limited to 'test/integration/targets/callback_default/runme.sh')
-rwxr-xr-x | test/integration/targets/callback_default/runme.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/integration/targets/callback_default/runme.sh b/test/integration/targets/callback_default/runme.sh index 0ee4259dde..a815132a5c 100755 --- a/test/integration/targets/callback_default/runme.sh +++ b/test/integration/targets/callback_default/runme.sh @@ -135,8 +135,8 @@ run_test default test.yml # Check for async output # NOTE: regex to match 1 or more digits works for both BSD and GNU grep ansible-playbook -i inventory test_async.yml 2>&1 | tee async_test.out -grep "ASYNC OK .* jid=[0-9]\{1,\}" async_test.out -grep "ASYNC FAILED .* jid=[0-9]\{1,\}" async_test.out +grep "ASYNC OK .* jid=j[0-9]\{1,\}" async_test.out +grep "ASYNC FAILED .* jid=j[0-9]\{1,\}" async_test.out rm -f async_test.out # Hide skipped |