From 4c5ac16447ce8790fc752885c3368fe825564813 Mon Sep 17 00:00:00 2001 From: Ganesh Nalawade Date: Fri, 4 May 2018 16:18:04 +0530 Subject: [PATCH] Fix ios integration test failures in CI (#39729) Fix ios integration test failures in CI. Since the packet transfer and receive rate on the interface is not determined to remove the tx_rate and rx_rate test conditions to prevent intermittent failure. --- .../targets/ios_interface/tests/cli/intent.yaml | 6 ------ .../targets/ios_smoke/tests/cli/common_utils.yaml | 8 -------- 2 files changed, 14 deletions(-) diff --git a/test/integration/targets/ios_interface/tests/cli/intent.yaml b/test/integration/targets/ios_interface/tests/cli/intent.yaml index 6e1e063b665..1758c6cb983 100644 --- a/test/integration/targets/ios_interface/tests/cli/intent.yaml +++ b/test/integration/targets/ios_interface/tests/cli/intent.yaml @@ -5,8 +5,6 @@ ios_interface: name: "{{ test_interface }}" state: up - tx_rate: ge(0) - rx_rate: ge(0) provider: "{{ cli }}" register: result @@ -18,8 +16,6 @@ ios_interface: name: "{{ test_interface }}" state: down - tx_rate: gt(0) - rx_rate: lt(0) provider: "{{ cli }}" ignore_errors: yes register: result @@ -28,8 +24,6 @@ that: - "result.failed == true" - "'state eq(down)' in result.failed_conditions" - - "'tx_rate gt(0)' in result.failed_conditions" - - "'rx_rate lt(0)' in result.failed_conditions" - name: Config + intent ios_interface: diff --git a/test/integration/targets/ios_smoke/tests/cli/common_utils.yaml b/test/integration/targets/ios_smoke/tests/cli/common_utils.yaml index 62721e1de8a..e53dff31cc0 100644 --- a/test/integration/targets/ios_smoke/tests/cli/common_utils.yaml +++ b/test/integration/targets/ios_smoke/tests/cli/common_utils.yaml @@ -103,8 +103,6 @@ ios_interface: name: "{{ test_interface }}" state: up - tx_rate: ge(0) - rx_rate: ge(0) provider: "{{ cli }}" register: result @@ -116,8 +114,6 @@ ios_interface: name: "{{ test_interface }}" state: down - tx_rate: gt(0) - rx_rate: lt(0) provider: "{{ cli }}" ignore_errors: yes register: result @@ -126,8 +122,6 @@ that: - "result.failed == true" - "'state eq(down)' in result.failed_conditions" - - "'tx_rate gt(0)' in result.failed_conditions" - - "'rx_rate lt(0)' in result.failed_conditions" - name: Config + intent ios_interface: @@ -155,6 +149,4 @@ - "result.failed == true" - "'state eq(up)' in result.failed_conditions" - - - debug: msg="END ios_smoke cli/common_utils.yaml on connection={{ ansible_connection }}"