diff --git a/test/objspace/test_objspace.rb b/test/objspace/test_objspace.rb index 326cf22e1f..e35fc0c14e 100644 --- a/test/objspace/test_objspace.rb +++ b/test/objspace/test_objspace.rb @@ -309,7 +309,7 @@ class TestObjSpace < Test::Unit::TestCase def test_trace_object_allocations_compaction_freed_pages omit "compaction is not supported on this platform" unless GC.respond_to?(:compact) - assert_normal_exit(<<~RUBY) + assert_normal_exit(<<~RUBY, timeout: 60) require "objspace" objs = [] diff --git a/test/ruby/test_ractor.rb b/test/ruby/test_ractor.rb index e2573153a3..1e06dfd83a 100644 --- a/test/ruby/test_ractor.rb +++ b/test/ruby/test_ractor.rb @@ -165,7 +165,7 @@ class TestRactor < Test::Unit::TestCase # [Bug #21398] def test_port_receive_dnt_with_port_send omit 'unstable on macos-14' if RUBY_PLATFORM =~ /darwin/ - assert_ractor(<<~'RUBY', timeout: 30) + assert_ractor(<<~'RUBY', timeout: 90) THREADS = 10 JOBS_PER_THREAD = 50 ARRAY_SIZE = 20_000