Commit d2c0c61b authored by Heinrich Lee Yu's avatar Heinrich Lee Yu

Fix minimal CI jobs running unrelated tests

Fixes a bug where the rspec arguments from rspec_paralellized_job are
not passed through to tooling/bin/parallel_rspec

This causes problems like Geo jobs running non-Geo specs because
"--tag ~geo" was not passed through.
parent 78f01f0e
......@@ -275,7 +275,7 @@ function rspec_paralellized_job() {
export MEMORY_TEST_PATH="tmp/memory_test/${report_name}_memory.csv"
if [[ -n $RSPEC_TESTS_MAPPING_ENABLED ]]; then
tooling/bin/parallel_rspec --rspec_args "$(rspec_args)" --filter "tmp/matching_tests.txt" || rspec_run_status=$?
tooling/bin/parallel_rspec --rspec_args "$(rspec_args "${rspec_opts}")" --filter "tmp/matching_tests.txt" || rspec_run_status=$?
else
tooling/bin/parallel_rspec --rspec_args "$(rspec_args "${rspec_opts}")" || rspec_run_status=$?
fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment