File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ set +o pipefail
66
77ROOT=$( dirname $0 ) /..
88EXIT_STATE=0
9- MAX_AUTO_RETRY=1
9+ MAX_AUTO_RETRY=0
1010
1111log () {
1212 echo -e " \n$1 "
@@ -55,6 +55,7 @@ case $1 in
5555
5656 SHARDS=($( node $ROOT /tasks/shard_jasmine_tests.js --limit=5 --tag=gl | circleci tests split) )
5757 for s in ${SHARDS[@]} ; do
58+ MAX_AUTO_RETRY=1
5859 retry npm run test-jasmine -- " $s " --tags=gl --skip-tags=noCI --doNotFailOnEmptyTestSuite
5960 done
6061
@@ -67,6 +68,7 @@ case $1 in
6768 SHARDS=($( node $ROOT /tasks/shard_jasmine_tests.js --limit=1 --tag=flaky | circleci tests split) )
6869
6970 for s in ${SHARDS[@]} ; do
71+ MAX_AUTO_RETRY=5
7072 retry npm run test-jasmine -- " $s " --tags=flaky --skip-tags=noCI
7173 done
7274
@@ -80,6 +82,7 @@ case $1 in
8082 ;;
8183
8284 image2)
85+ MAX_AUTO_RETRY=5
8386 retry npm run test-image -- --just-flaky
8487 npm run test-export || EXIT_STATE=$?
8588 exit $EXIT_STATE
You can’t perform that action at this time.
0 commit comments