Skip to content

Commit

Permalink
Remvoe very high timeout on test_race_gets_and_close
Browse files Browse the repository at this point in the history
This test should be fixed and fast now because the closing thread sleeps
appropriately waiting for the file descriptor to be unused.
  • Loading branch information
KJTsanaktsidis committed May 26, 2023
1 parent ed0f0ff commit 715cfa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/ruby/test_io.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3814,7 +3814,7 @@ def test_exclusive_mode
end

def test_race_gets_and_close
opt = { signal: :ABRT, timeout: 200 }
opt = { signal: :ABRT, timeout: 10 }
assert_separately([], "#{<<-"begin;"}\n#{<<-"end;"}", **opt)
bug13076 = '[ruby-core:78845] [Bug #13076]'
begin;
Expand Down

0 comments on commit 715cfa9

Please sign in to comment.