Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
4af440fc
Commit
4af440fc
authored
Jan 26, 2022
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert the early return from `parallel_rspec_runner.rb`
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
e7103152
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
tooling/lib/tooling/parallel_rspec_runner.rb
tooling/lib/tooling/parallel_rspec_runner.rb
+6
-0
No files found.
tooling/lib/tooling/parallel_rspec_runner.rb
View file @
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment