aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKJ Tsanaktsidis <ktsanaktsidis@zendesk.com>2023-05-26 12:10:45 +1000
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-05-26 14:51:23 +0900
commitd1628feaaf1bfa9ed8cbd0f4fd14a7cc802b3cc1 (patch)
treeceacf52de6ddb9a29fb76389c9410ecf3b49a9f7
parent66871c5a06d723f8350935ced1e88d8cc929d809 (diff)
downloadruby-d1628feaaf1bfa9ed8cbd0f4fd14a7cc802b3cc1.tar.gz
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.
-rw-r--r--test/ruby/test_io.rb2
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;