Increase timeout for a flaky test (#14233)

4813128455
This commit is contained in:
Takashi Kokubun 2025-08-14 16:41:01 -07:00 committed by GitHub
parent 70b4b6fea0
commit 5e8f9ea495
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -309,7 +309,7 @@ class TestObjSpace < Test::Unit::TestCase
def test_trace_object_allocations_compaction_freed_pages def test_trace_object_allocations_compaction_freed_pages
omit "compaction is not supported on this platform" unless GC.respond_to?(:compact) 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" require "objspace"
objs = [] objs = []

View file

@ -165,7 +165,7 @@ class TestRactor < Test::Unit::TestCase
# [Bug #21398] # [Bug #21398]
def test_port_receive_dnt_with_port_send def test_port_receive_dnt_with_port_send
omit 'unstable on macos-14' if RUBY_PLATFORM =~ /darwin/ omit 'unstable on macos-14' if RUBY_PLATFORM =~ /darwin/
assert_ractor(<<~'RUBY', timeout: 30) assert_ractor(<<~'RUBY', timeout: 90)
THREADS = 10 THREADS = 10
JOBS_PER_THREAD = 50 JOBS_PER_THREAD = 50
ARRAY_SIZE = 20_000 ARRAY_SIZE = 20_000