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>
pull/57702/head
Paul Belanger 6 years ago committed by GitHub
parent 98da0e6c99
commit 07e1bd8fe7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save