Merge "validations: Allow to customize the max retries"
This commit is contained in:
commit
a916cdf805
@ -20,3 +20,4 @@ run_preintro_val_log: "{{ val_working_dir }}/run_preintro_validations_negative_t
|
||||
|
||||
validations_dir: "/usr/share/openstack-tripleo-validations/validations"
|
||||
validations_static_inventory: "{{ val_working_dir }}/validations_static_inventory"
|
||||
validations_max_retries: 40
|
||||
|
@ -49,7 +49,7 @@ for validation_name in $LIST_VALIDATIONS; do
|
||||
sleep 1
|
||||
STATE=$(mistral execution-get -f value -c State "$ID")
|
||||
TRIES=$((TRIES+1))
|
||||
if [ "$TRIES" -gt 40 ]; then
|
||||
if [ "$TRIES" -gt {{ validations_max_retries }} ]; then
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user