File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -33,14 +33,19 @@ def bisect(cli_args, expected_status=nil)
33
33
end
34
34
end
35
35
36
- context "when the bisect commasaturingnd is long " do
36
+ context "when the bisect command saturates the pipe " do
37
37
# On OSX and Linux a file descriptor limit meant that the bisect process got stuck at a certain limit.
38
38
# This test demonstrates that we can run large bisects above this limit (found to be at time of commit).
39
39
# See: https://github.com/rspec/rspec-core/pull/2669
40
40
it 'does not hit pipe size limit and does not get stuck' do
41
41
output = bisect ( %W[ spec/rspec/core/resources/blocking_pipe_bisect_spec.rb_ ] , 1 )
42
42
expect ( output ) . to include ( "No failures found." )
43
43
end
44
+
45
+ it 'does not leave zombie processes' , :unless => RSpec ::Support ::OS . windows? do
46
+ bisect ( %W[ spec/rspec/core/resources/blocking_pipe_bisect_spec.rb_ ] , 1 )
47
+ expect ( %x[ps -ho pid,state] ) . to_not include ( "Z" )
48
+ end
44
49
end
45
50
end
46
51
end
You can’t perform that action at this time.
0 commit comments