Fix ios_smoke failure

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>
This commit is contained in:
Paul Belanger 2019-06-11 00:34:20 -04:00 committed by Toshio Kuratomi
parent 7f1888cef4
commit 57e323dd8f

View file

@ -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 }}"