From 5eff8ea4fb21d0ea34dfefc67f312ccf7a60bf12 Mon Sep 17 00:00:00 2001 From: David Wilson Date: Fri, 2 Nov 2018 13:01:47 +0000 Subject: [PATCH] tests: make result_shell_echo_hi compare less of the timedelta; closes #361 Assuming less than one second is too much to ask from Travis. --- tests/ansible/integration/async/result_shell_echo_hi.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ansible/integration/async/result_shell_echo_hi.yml b/tests/ansible/integration/async/result_shell_echo_hi.yml index 8858037a..dbf40bde 100644 --- a/tests/ansible/integration/async/result_shell_echo_hi.yml +++ b/tests/ansible/integration/async/result_shell_echo_hi.yml @@ -24,7 +24,7 @@ that: - async_out.changed == True - async_out.cmd == "echo hi" - - 'async_out.delta.startswith("0:00:00")' + - 'async_out.delta.startswith("0:00:")' - async_out.end.startswith("20") - async_out.invocation.module_args._raw_params == "echo hi" - async_out.invocation.module_args._uses_shell == True