diff options
author | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-12-18 00:46:32 +0000 |
---|---|---|
committer | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-12-18 00:46:32 +0000 |
commit | 07fa1c9144aaf58414df1a27c06fb4a78683717d (patch) | |
tree | d78047f1671231aa4fc25f2cea1d0ffbffece99a /test | |
parent | 1c0e4232749840d88c205cfc6136f369e46ce367 (diff) | |
download | ruby-07fa1c9144aaf58414df1a27c06fb4a78683717d.tar.gz |
* 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')
-rw-r--r-- | test/thread/test_queue.rb | 4 |
1 files changed, 2 insertions, 2 deletions
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 { |