1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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.
This commit is contained in:
Ganesh Nalawade 2018-05-04 16:18:04 +05:30 committed by GitHub
parent ab4cbfd5d3
commit 4c5ac16447
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 14 deletions

View file

@ -5,8 +5,6 @@
ios_interface: ios_interface:
name: "{{ test_interface }}" name: "{{ test_interface }}"
state: up state: up
tx_rate: ge(0)
rx_rate: ge(0)
provider: "{{ cli }}" provider: "{{ cli }}"
register: result register: result
@ -18,8 +16,6 @@
ios_interface: ios_interface:
name: "{{ test_interface }}" name: "{{ test_interface }}"
state: down state: down
tx_rate: gt(0)
rx_rate: lt(0)
provider: "{{ cli }}" provider: "{{ cli }}"
ignore_errors: yes ignore_errors: yes
register: result register: result
@ -28,8 +24,6 @@
that: that:
- "result.failed == true" - "result.failed == true"
- "'state eq(down)' in result.failed_conditions" - "'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 - name: Config + intent
ios_interface: ios_interface:

View file

@ -103,8 +103,6 @@
ios_interface: ios_interface:
name: "{{ test_interface }}" name: "{{ test_interface }}"
state: up state: up
tx_rate: ge(0)
rx_rate: ge(0)
provider: "{{ cli }}" provider: "{{ cli }}"
register: result register: result
@ -116,8 +114,6 @@
ios_interface: ios_interface:
name: "{{ test_interface }}" name: "{{ test_interface }}"
state: down state: down
tx_rate: gt(0)
rx_rate: lt(0)
provider: "{{ cli }}" provider: "{{ cli }}"
ignore_errors: yes ignore_errors: yes
register: result register: result
@ -126,8 +122,6 @@
that: that:
- "result.failed == true" - "result.failed == true"
- "'state eq(down)' in result.failed_conditions" - "'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 - name: Config + intent
ios_interface: ios_interface:
@ -155,6 +149,4 @@
- "result.failed == true" - "result.failed == true"
- "'state eq(up)' in result.failed_conditions" - "'state eq(up)' in result.failed_conditions"
- debug: msg="END ios_smoke cli/common_utils.yaml on connection={{ ansible_connection }}" - debug: msg="END ios_smoke cli/common_utils.yaml on connection={{ ansible_connection }}"