From 9970a90c88d30c78ae0ff220a6c3ddcc446cdde1 Mon Sep 17 00:00:00 2001 From: nagachika Date: Thu, 20 Jun 2013 13:41:00 +0000 Subject: merge revision(s) 41468: 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/branches/ruby_2_0_0@41499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_fiber.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/ruby') diff --git a/test/ruby/test_fiber.rb b/test/ruby/test_fiber.rb index 38050386c4..411151ab76 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 -- cgit v1.2.3