summaryrefslogtreecommitdiff
path: root/test/ruby/test_require.rb
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2024-04-04 10:30:29 +0900
committerYusuke Endoh <mame@ruby-lang.org>2024-04-04 10:30:29 +0900
commit41e9d6641b1c4f2517d2d4f54ab9a5457aeca856 (patch)
tree86b9a45e8a382a672bd03ffd82f70f4669ca1072 /test/ruby/test_require.rb
parent60567731051885acf38a3f91899f0d6d62d4898b (diff)
Extend timeout of TestRequire#test_require_with_public_method_missing
Launchable reported that this was the most "flaky" test. Perhaps the default timeout (10 seconds) is too tight for a test that uses `GC.stress = true`. I try to relax the limit.
Diffstat (limited to 'test/ruby/test_require.rb')
-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 fd5092aaf0..4f636fa1ba 100644
--- a/test/ruby/test_require.rb
+++ b/test/ruby/test_require.rb
@@ -979,7 +979,7 @@ class TestRequire < Test::Unit::TestCase
def test_require_with_public_method_missing
# [Bug #19793]
- assert_separately(["-W0", "-rtempfile"], __FILE__, __LINE__, <<~RUBY)
+ assert_separately(["-W0", "-rtempfile"], __FILE__, __LINE__, <<~RUBY, timeout: 60)
GC.stress = true
class Object