Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[core] Avoid bisect command to get stuck (rspec/rspec-core#2669)
Avoid bisect command to get stuck --- This commit was imported from rspec/rspec-core@1c31fc4.
- Loading branch information
Showing
3 changed files
with
21 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
rspec-core/spec/rspec/core/resources/blocking_pipe_bisect_spec.rb_
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Deliberately named *.rb_ to avoid being loaded except when specified | ||
|
||
RSpec.describe "1000 tests" do | ||
puts "Try to saturate the pipe in Bisect command" | ||
(0..1000).each do |t| | ||
it { expect(t).to eq t } | ||
end | ||
end |