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:
parent
98da0e6c99
commit
07e1bd8fe7
1 changed files with 2 additions and 1 deletions
|
@ -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 }}"
|
||||
|
|
Loading…
Reference in a new issue