summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/ios_smoke
diff options
context:
space:
mode:
authorPaul Belanger <pabelanger@redhat.com>2019-06-11 16:52:54 +0200
committerGitHub <noreply@github.com>2019-06-11 16:52:54 +0200
commit07e1bd8fe73e5cd8c607b665d4492ab308f688e9 (patch)
tree53e7612113df6112c56e04dc891099137fb36f46 /test/integration/targets/ios_smoke
parentBug Fixes for na_ontap_interface (#57363) (diff)
downloadansible-07e1bd8fe73e5cd8c607b665d4492ab308f688e9.tar.xz
ansible-07e1bd8fe73e5cd8c607b665d4492ab308f688e9.zip
Fix ios_smoke failure (#57665)
Set ansible_buffer_read_timeout to be larger then ansible_command_timeout, as both appliance / controller are on the same physical network and we are not triggering ansible_command_timeout. Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Diffstat (limited to 'test/integration/targets/ios_smoke')
-rw-r--r--test/integration/targets/ios_smoke/tests/cli/misc_tests.yaml3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/integration/targets/ios_smoke/tests/cli/misc_tests.yaml b/test/integration/targets/ios_smoke/tests/cli/misc_tests.yaml
index 18a9c20144..dfe513eac4 100644
--- a/test/integration/targets/ios_smoke/tests/cli/misc_tests.yaml
+++ b/test/integration/targets/ios_smoke/tests/cli/misc_tests.yaml
@@ -27,6 +27,7 @@
- show running-config all
vars:
ansible_command_timeout: 1
+ ansible_buffer_read_timeout: 2
ignore_errors: True
register: result
when: ansible_connection == 'network_cli'
@@ -34,7 +35,7 @@
- assert:
that:
- 'result.failed == true'
- - "'command timeout triggered' in result.msg"
+ - "'timeout value 1 seconds reached' in result.msg"
when: ansible_connection == 'network_cli'
- debug: msg="END ios_smoke cli/misc_tests.yaml on connection={{ ansible_connection }}"