Remove retry on ChromeDriver worker crash

Change-Id: Icbb772a76748a7c640ce0b6655fea839ecf898a2
Reviewed-on: https://gerrit.instructure.com/190122
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
Reviewed-by: Robert Lamb <rlamb@instructure.com>
Reviewed-by: Rex Fleischer <rfleischer@instructure.com>
Tested-by: Jenkins
QA-Review: Mysti Lilla <mysti@instructure.com>
Product-Review: Mysti Lilla <mysti@instructure.com>
This commit is contained in:
Mysti Lilla 2019-04-20 12:51:06 -06:00
parent 6625c4a2d2
commit cf95581a60
1 changed files with 2 additions and 8 deletions

View File

@ -13,7 +13,6 @@ test_failure_status=99
max_failures=${RERUNS:=200}
rerun_number=0
crash_num=0
runs_remaining=$((1+${RERUNS_RETRY:=3}))
spec_list=${SPEC_FILES:=spec}
@ -79,13 +78,8 @@ while true; do
fi
if [[ $last_status == $webdriver_crash_status ]]; then
if [[ $crash_num != 0 ]]; then
echo "a worker may have crashed during retry, exiting"
break
fi
echo "a worker may have crashed, retrying the run once"
crash_num=1
echo "a webdriver worker crashed; retrigger your build"
break
fi
if [[ $last_status == $test_failure_status ]]; then