Add retries for UC fetching over HTTP
In CI we've spotted multiple occurances of connection timeouts towards Gitea resulting in intermittent failures. A retry is being added here to reduce risk of intermittent failures. Change-Id: Ic13fc1d62fae1125661b5ca193f25e2fadd6fdb9
This commit is contained in:
parent
d3a345bd4f
commit
6938bf1271
@ -55,6 +55,9 @@
|
|||||||
url: "{{ rally_upper_constraints_url }}"
|
url: "{{ rally_upper_constraints_url }}"
|
||||||
return_content: yes
|
return_content: yes
|
||||||
register: _u_c_contents_uri
|
register: _u_c_contents_uri
|
||||||
|
until: _u_c_contents_uri is success
|
||||||
|
retries: 5
|
||||||
|
delay: 5
|
||||||
check_mode: false
|
check_mode: false
|
||||||
when: rally_openstack_git_repo is search('http')
|
when: rally_openstack_git_repo is search('http')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user