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

Add timeout to EAPI eos_system tests (#26822)

Getting random failures, let's bump timeout in all of them
This commit is contained in:
Ricardo Carrillo Cruz 2017-07-14 19:57:36 +02:00 committed by GitHub
parent 4a1864765b
commit 53295b2cbf
4 changed files with 25 additions and 0 deletions

View file

@ -6,6 +6,7 @@
lines:
- no ip domain-list ansible.com
- no ip domain-list redhat.com
timeout: 30
match: none
provider: "{{ eapi }}"
@ -14,6 +15,7 @@
domain_list:
- ansible.com
- redhat.com
timeout: 30
provider: "{{ eapi }}"
register: result
@ -28,6 +30,7 @@
domain_list:
- ansible.com
- redhat.com
timeout: 30
provider: "{{ eapi }}"
register: result
@ -39,6 +42,7 @@
eos_system:
domain_list:
- ansible.com
timeout: 30
provider: "{{ eapi }}"
register: result
@ -51,6 +55,7 @@
eos_system:
domain_list:
- ansible.com
timeout: 30
provider: "{{ eapi }}"
register: result
@ -63,6 +68,7 @@
domain_list:
- ansible.com
- redhat.com
timeout: 30
provider: "{{ eapi }}"
register: result
@ -76,6 +82,7 @@
domain_list:
- ansible.com
- redhat.com
timeout: 30
provider: "{{ eapi }}"
register: result
@ -88,6 +95,7 @@
domain_list:
- ansible.com
- eng.ansible.com
timeout: 30
provider: "{{ eapi }}"
register: result
@ -103,6 +111,7 @@
domain_list:
- ansible.com
- eng.ansible.com
timeout: 30
provider: "{{ eapi }}"
register: result
@ -116,6 +125,7 @@
- no ip domain-list ansible.com
- no ip domain-list redhat.com
- no ip domain-list eng.ansible.com
timeout: 30
match: none
provider: "{{ eapi }}"

View file

@ -4,12 +4,14 @@
- name: setup
eos_config:
lines: no ip domain-name
timeout: 30
match: none
provider: "{{ eapi }}"
- name: configure domain_name
eos_system:
domain_name: eng.ansible.com
timeout: 30
provider: "{{ eapi }}"
register: result
@ -20,6 +22,7 @@
- name: verify domain_name
eos_system:
domain_name: eng.ansible.com
timeout: 30
provider: "{{ eapi }}"
register: result
@ -30,6 +33,7 @@
- name: teardown
eos_config:
lines: no ip domain-name
timeout: 30
match: none
provider: "{{ eapi }}"

View file

@ -6,12 +6,14 @@
lines:
- no ip domain lookup source-interface
- vrf definition ansible
timeout: 30
match: none
provider: "{{ eapi }}"
- name: configure lookup_source
eos_system:
lookup_source: Management1
timeout: 30
provider: "{{ eapi }}"
register: result
@ -23,6 +25,7 @@
- name: verify lookup_source
eos_system:
lookup_source: Management1
timeout: 30
provider: "{{ eapi }}"
register: result
@ -35,6 +38,7 @@
lookup_source:
- interface: Management1
vrf: ansible
timeout: 30
provider: "{{ eapi }}"
register: result
@ -50,6 +54,7 @@
lookup_source:
- interface: Management1
vrf: ansible
timeout: 30
provider: "{{ eapi }}"
register: result
@ -62,6 +67,7 @@
lines:
- no ip domain lookup source-interface
- no vrf definition ansible
timeout: 30
match: none
provider: "{{ eapi }}"

View file

@ -6,6 +6,7 @@
lines:
- no ip name-server
- vrf definition ansible
timeout: 30
match: none
provider: "{{ eapi }}"
@ -15,6 +16,7 @@
- 1.1.1.1
- 2.2.2.2
- 3.3.3.3
timeout: 30
provider: "{{ eapi }}"
register: result
@ -32,6 +34,7 @@
- 1.1.1.1
- 2.2.2.2
- 3.3.3.3
timeout: 30
provider: "{{ eapi }}"
register: result
@ -73,6 +76,7 @@
name_servers:
- 1.1.1.1
- 2.2.2.2
timeout: 30
provider: "{{ eapi }}"
register: result
@ -87,6 +91,7 @@
lines:
- no ip domain lookup source-interface
- no vrf definition ansible
timeout: 30
match: none
provider: "{{ eapi }}"