Fix ios integration test failures in CI (#39729) (#39731)

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.
(cherry picked from commit 4c5ac16447)
pull/39738/head
Ganesh Nalawade 7 years ago committed by GitHub
parent 69564206e0
commit cf374ca9d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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:

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

Loading…
Cancel
Save