Merge "Reduce race condition with timeout for ansible run"

This commit is contained in:
Zuul 2018-01-18 02:06:44 +00:00 committed by Gerrit Code Review
commit dd74920b38
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ function run_with_timeout {
if [[ "$TOCI_JOBTYPE" =~ "ovb" ]]; then
RESERVED_LOG_TIME=10
else
RESERVED_LOG_TIME=0
RESERVED_LOG_TIME=3
fi
# Use $REMAINING_TIME of infra to calculate maximum time for remaining part of job
REMAINING_TIME=${REMAINING_TIME:-180}