Increase timeout in test_darwin_invalid_call
method
This commit is contained in:
parent
77ffdfe79f
commit
f57167d338
Notes:
git
2024-08-09 03:16:42 +00:00
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user