1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

test_fiber.rb: longer timeout

* test/ruby/test_fiber.rb (test_many_fibers): make timeout longer.
  10sec is not sufficient.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2013-06-20 04:08:49 +00:00
parent d6f6f21816
commit a12c414d7e

View file

@ -46,7 +46,7 @@ class TestFiber < Test::Unit::TestCase
end
def test_many_fibers_with_threads
assert_normal_exit %q{
assert_normal_exit <<-SRC, timeout: 60
max = 1000
@cnt = 0
(1..100).map{|ti|
@ -60,7 +60,7 @@ class TestFiber < Test::Unit::TestCase
}.each{|t|
t.join
}
}
SRC
end
def test_error