Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit c061e52

Browse files
committed
Testing CI with 923 occurrences with Bisect command
1 parent f746452 commit c061e52

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

lib/rspec/core/bisect/fork_runner.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,9 @@ def initialize(runner, channel)
9191
end
9292

9393
def dispatch_specs(run_descriptor)
94-
fork { run_specs(run_descriptor) }
94+
# fork { run_specs(run_descriptor) }
95+
pid = fork { run_specs(run_descriptor) }
96+
Process.waitpid(pid)
9597
end
9698

9799
private

spec/rspec/core/resources/blocking_pipe_bisect_spec.rb_

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
RSpec.describe "1000 tests" do
44
puts "Try to saturate the pipe in Bisect command"
5-
(0..1000).each do |t|
5+
(0..923).each do |t|
66
it { expect(t).to eq t }
77
end
88
end

0 commit comments

Comments
 (0)