summaryrefslogtreecommitdiff
path: root/test/thread/test_queue.rb
diff options
context:
space:
mode:
authornagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-12-18 00:46:32 +0000
committernagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-12-18 00:46:32 +0000
commit07fa1c9144aaf58414df1a27c06fb4a78683717d (patch)
treed78047f1671231aa4fc25f2cea1d0ffbffece99a /test/thread/test_queue.rb
parent1c0e4232749840d88c205cfc6136f369e46ce367 (diff)
* 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
Diffstat (limited to 'test/thread/test_queue.rb')
-rw-r--r--test/thread/test_queue.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/thread/test_queue.rb b/test/thread/test_queue.rb
index 9d2f22f..346c2df 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 {