From 07e1bd8fe73e5cd8c607b665d4492ab308f688e9 Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Tue, 11 Jun 2019 10:52:54 -0400 Subject: [PATCH] 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 --- test/integration/targets/ios_smoke/tests/cli/misc_tests.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 18a9c201444..dfe513eac4b 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 }}"