mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
parent
70b4b6fea0
commit
5e8f9ea495
2 changed files with 2 additions and 2 deletions
|
@ -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 = []
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue