diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb index 94441db244..cd45bde99d 100644 --- a/test/ruby/test_process.rb +++ b/test/ruby/test_process.rb @@ -2138,7 +2138,7 @@ EOS end def test_deadlock_by_signal_at_forking - assert_separately(["-", RUBY], <<-INPUT, timeout: 60) + assert_separately(["-", RUBY], <<-INPUT, timeout: 80) ruby = ARGV.shift GC.start # reduce garbage GC.disable # avoid triggering CoW after forks diff --git a/test/ruby/test_require.rb b/test/ruby/test_require.rb index 7b5b79d862..dbd6117ba2 100644 --- a/test/ruby/test_require.rb +++ b/test/ruby/test_require.rb @@ -697,7 +697,7 @@ class TestRequire < Test::Unit::TestCase bug7530 = '[ruby-core:50645]' Tempfile.create(%w'bug-7530- .rb') {|script| script.close - assert_in_out_err([{"RUBYOPT" => nil}, "-", script.path], <<-INPUT, %w(:ok), [], bug7530, timeout: 40) + assert_in_out_err([{"RUBYOPT" => nil}, "-", script.path], <<-INPUT, %w(:ok), [], bug7530, timeout: 60) PATH = ARGV.shift THREADS = 4 ITERATIONS_PER_THREAD = 1000