Commit 8257fde2 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Merge branch 'fix-parallel_rspec_runner.rb' into 'master'

Revert the early return from `parallel_rspec_runner.rb`

See merge request gitlab-org/gitlab!79215
parents 23401de0 4af440fc
......@@ -38,6 +38,12 @@ module Tooling
Knapsack.logger.info tests_to_run
Knapsack.logger.info
# Without this guard clause, we're run all the specs instead of none!
if tests_to_run.empty?
Knapsack.logger.info 'No tests to run on this node, exiting.'
return 0
end
Process.wait Process.spawn(*rspec_command)
Process.last_status.exitstatus
end
......
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