Make tests that use kennethreitz retry.
This commit is contained in:
parent
5dbd7c18a1
commit
1cc83dd0d9
2 changed files with 18 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue