From a40946297fd6e06c6b76153f8d467eeb885b9f9a Mon Sep 17 00:00:00 2001 From: David Wilson Date: Mon, 28 Jan 2019 19:35:34 +0000 Subject: [PATCH] issue #497: do our best to cope with crap upstream code --- tests/ansible/integration/async/runner_one_job.yml | 4 ++++ .../integration/async/runner_two_simultaneous_jobs.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/tests/ansible/integration/async/runner_one_job.yml b/tests/ansible/integration/async/runner_one_job.yml index 19fba7de..ca798a7f 100644 --- a/tests/ansible/integration/async/runner_one_job.yml +++ b/tests/ansible/integration/async/runner_one_job.yml @@ -43,10 +43,14 @@ - result1.finished == 1 - result1.rc == 0 - result1.start|length == 26 + + - assert: + that: - result1.stderr == "" - result1.stderr_lines == [] - result1.stdout == "alldone" - result1.stdout_lines == ["alldone"] + when: ansible_version.full > '2.8' # ansible#51393 - assert: that: diff --git a/tests/ansible/integration/async/runner_two_simultaneous_jobs.yml b/tests/ansible/integration/async/runner_two_simultaneous_jobs.yml index 9474263b..fdde0463 100644 --- a/tests/ansible/integration/async/runner_two_simultaneous_jobs.yml +++ b/tests/ansible/integration/async/runner_two_simultaneous_jobs.yml @@ -56,4 +56,8 @@ that: - result1.rc == 0 - result2.rc == 0 + + - assert: + that: - result2.stdout == 'im_alive' + when: ansible_version.full > '2.8' # ansible#51393