Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/scripts/rspec-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ fi
# Leaving set -x here because it's useful for debugging what files are being tested
set -x
if [ "$PARAM_RERUN_FAIL" = 1 ]; then
circleci tests glob "${globs[@]}" | circleci tests run --command "xargs bundle exec rspec --profile 10 --format RspecJunitFormatter --out \"$PARAM_OUT_PATH\"/results.xml --format progress ${args[*]}" --verbose --split-by=timings
circleci tests glob "${globs[@]}" | circleci tests run --command "xargs bundle exec rspec --seed \"$RANDOM\" --profile 10 --format RspecJunitFormatter --out \"$PARAM_OUT_PATH\"/results.xml --format progress ${args[*]}" --verbose --split-by=timings
else
prepare_split_files
bundle exec rspec "${test_files[@]}" --profile 10 --format RspecJunitFormatter --out "$PARAM_OUT_PATH"/results.xml --format progress "${args[@]}"
bundle exec rspec --seed "$RANDOM" "${test_files[@]}" --profile 10 --format RspecJunitFormatter --out "$PARAM_OUT_PATH"/results.xml --format progress "${args[@]}"
fi
set +x