summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2019-08-09 17:48:47 +0900
committerKoichi Sasada <ko1@atdot.net>2019-08-09 17:48:47 +0900
commit63384591e2c72b89f9d69d9acc6c8b80ca8432c3 (patch)
treef4de43122ee018a55129f859ce8862be94e9f757
parentef64ab917eec02491f6bf7233a4031a8c35385e3 (diff)
restore timeout
-rw-r--r--test/ruby/test_fiber.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/ruby/test_fiber.rb b/test/ruby/test_fiber.rb
index d987c73..ca1b68a 100644
--- a/test/ruby/test_fiber.rb
+++ b/test/ruby/test_fiber.rb
@@ -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_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,
- # TODO: this 6 hours timeout is to debug an issue on MacOS.
- timeout: 60 * 60 * 6)
+ out, err, status = EnvUtil.invoke_ruby([env, '-e', script], '', true, true, chdir: tmpdir, timeout: 30)
assert(!status.signaled?, FailDesc[status, nil, err])
out
}