1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

test_gc.rb: expand timeout

* test/ruby/test_gc.rb (test_sweep_in_finalizer): expand timeout for
  slower machines.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2013-12-05 11:57:32 +00:00
parent 8740ac0aeb
commit b28f0f1ed2

View file

@ -252,7 +252,7 @@ class TestGc < Test::Unit::TestCase
def test_sweep_in_finalizer
bug9205 = '[ruby-core:58833] [Bug #9205]'
2.times do
assert_ruby_status([], <<-'end;', bug9205)
assert_ruby_status([], <<-'end;', bug9205, timeout: 30)
raise_proc = proc do |id|
GC.start
end