зеркало из https://github.com/github/ruby.git
* 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:
Родитель
1c0e423274
Коммит
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>
|
||||
|
||||
* test/ruby/envutil.rb (invoke_ruby): remove :timeout option before
|
||||
|
|
|
@ -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 {
|
||||
|
|
Загрузка…
Ссылка в новой задаче