summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Kokubun <takashi.kokubun@shopify.com>2025-08-14 16:41:01 -0700
committerGitHub <noreply@github.com>2025-08-14 23:41:01 +0000
commit5e8f9ea4953af1737a477613aa31e72ca81031c6 (patch)
tree6ee34817e8b8ef4ee067e70aee90cef5a3b783e4
parent70b4b6fea0eeb66647539bcb3b9a50d027d92e51 (diff)
Increase timeout for a flaky test (#14233)
https://github.com/ruby/ruby/actions/runs/16977882022/job/48131284556
-rw-r--r--test/objspace/test_objspace.rb2
-rw-r--r--test/ruby/test_ractor.rb2
2 files changed, 2 insertions, 2 deletions
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