From 41e9d6641b1c4f2517d2d4f54ab9a5457aeca856 Mon Sep 17 00:00:00 2001 From: Yusuke Endoh Date: Thu, 4 Apr 2024 10:30:29 +0900 Subject: [PATCH] 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. --- test/ruby/test_require.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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