summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/expect
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2017-07-06 06:47:06 +0200
committerGitHub <noreply@github.com>2017-07-06 06:47:06 +0200
commit2401fb5b92f9d02bd594b3fff884bc87138e1d12 (patch)
tree92c0c4dff9adb026d7cd83111cd9a9ceae65eaff /test/integration/targets/expect
parentAdding stderr regex catch for iosxr commit failures. Adding error handling af... (diff)
downloadansible-2401fb5b92f9d02bd594b3fff884bc87138e1d12.tar.xz
ansible-2401fb5b92f9d02bd594b3fff884bc87138e1d12.zip
Fix expect timeout test. (#26473)
Diffstat (limited to 'test/integration/targets/expect')
-rw-r--r--test/integration/targets/expect/tasks/main.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/integration/targets/expect/tasks/main.yml b/test/integration/targets/expect/tasks/main.yml
index b27ca5bc0f..7a54d84aef 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