ci/bare-metal/poe: change the default TEST_PHASE_TIMEOUT_MINUTES to CI_JOB_TIMEOUT - 5min
The 5min margin is configurable as `TEST_SETUP_AND_UPLOAD_MARGIN_MINUTES`. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30800>
This commit is contained in:
committed by
Marge Bot
parent
fe075df8d9
commit
f01825569e
@@ -200,7 +200,7 @@ while [ $((ATTEMPTS--)) -gt 0 ]; do
|
||||
--powerup="$BM_POWERUP" \
|
||||
--powerdown="$BM_POWERDOWN" \
|
||||
--boot-timeout-seconds ${BOOT_PHASE_TIMEOUT_SECONDS:-300} \
|
||||
--test-timeout-minutes ${TEST_PHASE_TIMEOUT_MINUTES:-20}
|
||||
--test-timeout-minutes ${TEST_PHASE_TIMEOUT_MINUTES:-$((CI_JOB_TIMEOUT/60 - ${TEST_SETUP_AND_UPLOAD_MARGIN_MINUTES:-5}))}
|
||||
ret=$?
|
||||
|
||||
if [ $ret -eq 2 ]; then
|
||||
|
||||
Reference in New Issue
Block a user