summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2019-08-09 15:23:35 +0900
committerKoichi Sasada <ko1@atdot.net>2019-08-09 15:23:35 +0900
commit26cf4c91ad357fe6c8fc2247abe980dbf9a5b331 (patch)
tree1b893976b7850fc538f960fac23de9eed95660d0
parent3b39cc6b038d419081a3d302a3cd73c3859613c7 (diff)
extend timeout to debug.
-rw-r--r--test/ruby/test_fiber.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/ruby/test_fiber.rb b/test/ruby/test_fiber.rb
index ca1b68a..d987c73 100644
--- a/test/ruby/test_fiber.rb
+++ b/test/ruby/test_fiber.rb
@@ -349,7 +349,9 @@ class TestFiber < Test::Unit::TestCase
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
out = Dir.mktmpdir("test_fiber") {|tmpdir|
- out, err, status = EnvUtil.invoke_ruby([env, '-e', script], '', true, true, chdir: tmpdir, timeout: 30)
+ out, err, status = EnvUtil.invoke_ruby([env, '-e', script], '', true, true, chdir: tmpdir,
+ # TODO: this 6 hours timeout is to debug an issue on MacOS.
+ timeout: 60 * 60 * 6)
assert(!status.signaled?, FailDesc[status, nil, err])
out
}