mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-13 04:11:00 +00:00
Make tests that use kennethreitz retry.
This commit is contained in:
@@ -47,6 +47,12 @@
|
||||
dest: "{{ output_dir }}/shouldnotexist.html"
|
||||
ignore_errors: True
|
||||
register: result
|
||||
# kennethreitz having trouble staying up. Eventually need to install our own
|
||||
# certs & web server to test this... also need to install and test it with
|
||||
# a proxy so the complications are inevitable
|
||||
until: "'read operation timed out' not in result.msg"
|
||||
retries: 30
|
||||
delay: 10
|
||||
|
||||
- stat:
|
||||
path: "{{ output_dir }}/shouldnotexist.html"
|
||||
@@ -65,6 +71,9 @@
|
||||
dest: "{{ output_dir }}/kreitz.html"
|
||||
validate_certs: no
|
||||
register: result
|
||||
until: "'read operation timed out' not in result.msg"
|
||||
retries: 30
|
||||
delay: 10
|
||||
|
||||
- stat:
|
||||
path: "{{ output_dir }}/kreitz.html"
|
||||
|
||||
@@ -98,6 +98,12 @@
|
||||
dest: "{{ output_dir }}/shouldnotexist.html"
|
||||
ignore_errors: True
|
||||
register: result
|
||||
# kennethreitz having trouble staying up. Eventually need to install our own
|
||||
# certs & web server to test this... also need to install and test it with
|
||||
# a proxy so the complications are inevitable
|
||||
until: "'read operation timed out' not in result.msg"
|
||||
retries: 30
|
||||
delay: 10
|
||||
|
||||
- stat:
|
||||
path: "{{ output_dir }}/shouldnotexist.html"
|
||||
@@ -121,6 +127,9 @@
|
||||
dest: "{{ output_dir }}/kreitz.html"
|
||||
validate_certs: no
|
||||
register: result
|
||||
until: "'read operation timed out' not in result.msg"
|
||||
retries: 30
|
||||
delay: 10
|
||||
|
||||
- stat:
|
||||
path: "{{ output_dir }}/kreitz.html"
|
||||
|
||||
Reference in New Issue
Block a user