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>
This commit is contained in:
Paul Belanger 2019-06-11 10:52:54 -04:00 committed by GitHub
parent 98da0e6c99
commit 07e1bd8fe7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,6 +27,7 @@
- show running-config all - show running-config all
vars: vars:
ansible_command_timeout: 1 ansible_command_timeout: 1
ansible_buffer_read_timeout: 2
ignore_errors: True ignore_errors: True
register: result register: result
when: ansible_connection == 'network_cli' when: ansible_connection == 'network_cli'
@ -34,7 +35,7 @@
- assert: - assert:
that: that:
- 'result.failed == true' - 'result.failed == true'
- "'command timeout triggered' in result.msg" - "'timeout value 1 seconds reached' in result.msg"
when: ansible_connection == 'network_cli' when: ansible_connection == 'network_cli'
- debug: msg="END ios_smoke cli/misc_tests.yaml on connection={{ ansible_connection }}" - debug: msg="END ios_smoke cli/misc_tests.yaml on connection={{ ansible_connection }}"