From d1628feaaf1bfa9ed8cbd0f4fd14a7cc802b3cc1 Mon Sep 17 00:00:00 2001 From: KJ Tsanaktsidis Date: Fri, 26 May 2023 12:10:45 +1000 Subject: [PATCH] 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. --- test/ruby/test_io.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;