Skip to content

Commit c657348

Browse files
authored
Merge pull request #3667 from plotly/reduce-num-retries-in-jasmine
Rearrange jasmine test retries
2 parents 78e2265 + 24aafc8 commit c657348

11 files changed

+716
-664
lines changed

.circleci/test.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ case $1 in
5454
set_tz
5555

5656
SHARDS=($(node $ROOT/tasks/shard_jasmine_tests.js --tag=gl | circleci tests split))
57-
5857
for s in ${SHARDS[@]}; do
5958
retry npm run test-jasmine -- "$s" --tags=gl --skip-tags=noCI --showSkipped
6059
done
@@ -65,7 +64,7 @@ case $1 in
6564
jasmine3)
6665
set_tz
6766

68-
SHARDS=($(node $ROOT/tasks/shard_jasmine_tests.js --tag=flaky | circleci tests split))
67+
SHARDS=($(node $ROOT/tasks/shard_jasmine_tests.js --limit=1 --tag=flaky | circleci tests split))
6968

7069
for s in ${SHARDS[@]}; do
7170
retry npm run test-jasmine -- "$s" --tags=flaky --skip-tags=noCI --showSkipped

0 commit comments

Comments
 (0)