summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaoto Ono <[email protected]>2024-08-09 11:16:50 +0900
committerYusuke Endoh <[email protected]>2024-08-09 12:16:23 +0900
commitf57167d3380b6351a915e3e4e0c04c799bd151bd (patch)
treec7b6ade20a3729c435d0638c57eccdf14f7ab67c
parent77ffdfe79fc9dc0b327ff88ea3df4082183c08f6 (diff)
Increase timeout in `test_darwin_invalid_call` method
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/11348
-rw-r--r--test/ruby/test_vm_dump.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/ruby/test_vm_dump.rb b/test/ruby/test_vm_dump.rb
index 0f5b3d1680..12dfe75e9d 100644
--- a/test/ruby/test_vm_dump.rb
+++ b/test/ruby/test_vm_dump.rb
@@ -4,14 +4,14 @@ require 'test/unit'
return unless /darwin/ =~ RUBY_PLATFORM
class TestVMDump < Test::Unit::TestCase
- def assert_darwin_vm_dump_works(args)
+ def assert_darwin_vm_dump_works(args, timeout=nil)
pend "macOS 15 beta is not working with this assertion" if /darwin/ =~ RUBY_PLATFORM && /15/ =~ `sw_vers -productVersion`
- assert_in_out_err(args, "", [], /^\[IMPORTANT\]/, timeout: 60)
+ assert_in_out_err(args, "", [], /^\[IMPORTANT\]/, timeout: timeout || 60)
end
def test_darwin_invalid_call
- assert_darwin_vm_dump_works(['-r-test-/fatal', '-eBug.invalid_call(1)'])
+ assert_darwin_vm_dump_works(['-r-test-/fatal', '-eBug.invalid_call(1)'], 180)
end
def test_darwin_segv_in_syscall