The test added in r34034 needs to run thousands of times.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2011-12-14 02:26:17 +00:00
parent f2fff83e96
commit 24c3766624

View File

@ -58,6 +58,7 @@ class TestQueue < Test::Unit::TestCase
def test_thr_kill
bug5343 = '[ruby-core:39634]'
assert_normal_exit(<<-'_eom', bug5343)
2000.times do
require "thread"
queue = Queue.new
r, w = IO.pipe
@ -67,7 +68,7 @@ class TestQueue < Test::Unit::TestCase
}
queue.pop
th.kill.join
end
_eom
end
end