diff options
author | KJ Tsanaktsidis <[email protected]> | 2023-05-26 12:10:45 +1000 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2023-05-26 14:51:23 +0900 |
commit | d1628feaaf1bfa9ed8cbd0f4fd14a7cc802b3cc1 (patch) | |
tree | ceacf52de6ddb9a29fb76389c9410ecf3b49a9f7 /test/ruby/test_io.rb | |
parent | 66871c5a06d723f8350935ced1e88d8cc929d809 (diff) |
Remvoe very high timeout on test_race_gets_and_close
This test should be fixed and fast now because the closing thread sleeps
appropriately waiting for the file descriptor to be unused.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/7865
Diffstat (limited to 'test/ruby/test_io.rb')
-rw-r--r-- | test/ruby/test_io.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_io.rb b/test/ruby/test_io.rb index f57dee4261..8527a93b88 100644 --- a/test/ruby/test_io.rb +++ b/test/ruby/test_io.rb @@ -3814,7 +3814,7 @@ __END__ 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; |