diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-06-20 04:08:49 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-06-20 04:08:49 +0000 |
commit | a12c414d7eb6965b6687d06ad1aa2f125af3b885 (patch) | |
tree | 21a1f34f55aabbc8bd03f0c98493a6264990890e | |
parent | d6f6f21816a15b7355415869365feeb19676e7c0 (diff) | |
download | ruby-a12c414d7eb6965b6687d06ad1aa2f125af3b885.tar.gz |
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
-rw-r--r-- | test/ruby/test_fiber.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_fiber.rb b/test/ruby/test_fiber.rb index 957c134589..25a4608c8a 100644 --- a/test/ruby/test_fiber.rb +++ b/test/ruby/test_fiber.rb @@ -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 |