From 2401fb5b92f9d02bd594b3fff884bc87138e1d12 Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Wed, 5 Jul 2017 21:47:06 -0700 Subject: [PATCH] Fix expect timeout test. (#26473) --- test/integration/targets/expect/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/targets/expect/tasks/main.yml b/test/integration/targets/expect/tasks/main.yml index b27ca5bc0f4..7a54d84aef8 100644 --- a/test/integration/targets/expect/tasks/main.yml +++ b/test/integration/targets/expect/tasks/main.yml @@ -70,10 +70,10 @@ - name: test timeout option expect: - command: "cat" + command: "sleep 10" responses: foo: bar - timeout: 0 + timeout: 1 ignore_errors: true register: timeout_result