mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
restore timeout
This commit is contained in:
parent
ef64ab917e
commit
63384591e2
1 changed files with 1 additions and 3 deletions
|
@ -349,9 +349,7 @@ class TestFiber < Test::Unit::TestCase
|
||||||
env['RUBY_FIBER_VM_STACK_SIZE'] = vm_stack_size.to_s if vm_stack_size
|
env['RUBY_FIBER_VM_STACK_SIZE'] = vm_stack_size.to_s if vm_stack_size
|
||||||
env['RUBY_FIBER_MACHINE_STACK_SIZE'] = machine_stack_size.to_s if machine_stack_size
|
env['RUBY_FIBER_MACHINE_STACK_SIZE'] = machine_stack_size.to_s if machine_stack_size
|
||||||
out = Dir.mktmpdir("test_fiber") {|tmpdir|
|
out = Dir.mktmpdir("test_fiber") {|tmpdir|
|
||||||
out, err, status = EnvUtil.invoke_ruby([env, '-e', script], '', true, true, chdir: tmpdir,
|
out, err, status = EnvUtil.invoke_ruby([env, '-e', script], '', true, true, chdir: tmpdir, timeout: 30)
|
||||||
# TODO: this 6 hours timeout is to debug an issue on MacOS.
|
|
||||||
timeout: 60 * 60 * 6)
|
|
||||||
assert(!status.signaled?, FailDesc[status, nil, err])
|
assert(!status.signaled?, FailDesc[status, nil, err])
|
||||||
out
|
out
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue