* 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
This commit is contained in:
parent
1c0e423274
commit
07fa1c9144
@ -1,3 +1,8 @@
|
|||||||
|
Sun Dec 18 09:43:21 2011 CHIKANAGA Tomoyuki <nagachika00@gmail.com>
|
||||||
|
|
||||||
|
* test/thread/test_queue.rb (test_thr_kill): extend timeout.
|
||||||
|
this test takes a long time at slow machine.
|
||||||
|
|
||||||
Sun Dec 18 09:36:51 2011 CHIKANAGA Tomoyuki <nagachika00@gmail.com>
|
Sun Dec 18 09:36:51 2011 CHIKANAGA Tomoyuki <nagachika00@gmail.com>
|
||||||
|
|
||||||
* test/ruby/envutil.rb (invoke_ruby): remove :timeout option before
|
* test/ruby/envutil.rb (invoke_ruby): remove :timeout option before
|
||||||
|
@ -57,9 +57,9 @@ class TestQueue < Test::Unit::TestCase
|
|||||||
|
|
||||||
def test_thr_kill
|
def test_thr_kill
|
||||||
bug5343 = '[ruby-core:39634]'
|
bug5343 = '[ruby-core:39634]'
|
||||||
assert_normal_exit(<<-'_eom', bug5343)
|
assert_normal_exit(<<-'_eom', bug5343, {:timeout => 250})
|
||||||
2000.times do
|
|
||||||
require "thread"
|
require "thread"
|
||||||
|
2000.times do
|
||||||
queue = Queue.new
|
queue = Queue.new
|
||||||
r, w = IO.pipe
|
r, w = IO.pipe
|
||||||
th = Thread.start {
|
th = Thread.start {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user