summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2024-06-07 23:03:49 +0900
committerYusuke Endoh <mame@ruby-lang.org>2024-06-07 23:03:49 +0900
commitb9b207f3888d5d2bbf094074abfda143c76b88c8 (patch)
tree406cb5f5fb9822f74b44623bb5add7365902c832 /test/ruby
parent7944710ed46f4ca13fd5e3c023fc37fcb1928fad (diff)
TestRequire#test_loading_fifo_fd_leak: Extend the timeout limit
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_require.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_require.rb b/test/ruby/test_require.rb
index ef33928376..4217006d61 100644
--- a/test/ruby/test_require.rb
+++ b/test/ruby/test_require.rb
@@ -847,7 +847,7 @@ class TestRequire < Test::Unit::TestCase
f.close
File.unlink(f.path)
File.mkfifo(f.path)
- assert_separately(["-", f.path], "#{<<~"begin;"}\n#{<<~"end;"}", timeout: 3)
+ assert_separately(["-", f.path], "#{<<~"begin;"}\n#{<<~"end;"}", timeout: 10)
begin;
th = Thread.current
Thread.start {begin sleep(0.001) end until th.stop?; th.raise(IOError)}