Commit 4af440fc authored by Rémy Coutable's avatar Rémy Coutable

Revert the early return from `parallel_rspec_runner.rb`

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent e7103152
......@@ -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