From 07fa1c9144aaf58414df1a27c06fb4a78683717d Mon Sep 17 00:00:00 2001 From: nagachika Date: Sun, 18 Dec 2011 00:46:32 +0000 Subject: * test/thread/test_queue.rb (test_thr_kill): extend timeout. this test takes a long time at slow machine. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/thread/test_queue.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/thread') diff --git a/test/thread/test_queue.rb b/test/thread/test_queue.rb index 9d2f22ff56..346c2df51a 100644 --- a/test/thread/test_queue.rb +++ b/test/thread/test_queue.rb @@ -57,9 +57,9 @@ class TestQueue < Test::Unit::TestCase def test_thr_kill bug5343 = '[ruby-core:39634]' - assert_normal_exit(<<-'_eom', bug5343) + assert_normal_exit(<<-'_eom', bug5343, {:timeout => 250}) + require "thread" 2000.times do - require "thread" queue = Queue.new r, w = IO.pipe th = Thread.start { -- cgit v1.2.3