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

test/ruby/test_array.rb: longer timeout for memory leak test

This was causing CI failures on ko1's test box

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
normal 2015-07-05 20:55:36 +00:00
parent 1f3971e054
commit 77eea6f940

View file

@ -1447,7 +1447,7 @@ class TestArray < Test::Unit::TestCase
def test_short_heap_array_sort_bang_memory_leak def test_short_heap_array_sort_bang_memory_leak
bug11332 = '[ruby-dev:49166] [Bug #11332]' bug11332 = '[ruby-dev:49166] [Bug #11332]'
assert_no_memory_leak([], <<-PREP, <<-TEST, bug11332, limit: 1.20) assert_no_memory_leak([], <<-PREP, <<-TEST, bug11332, limit: 1.20, timeout: 60)
def t; ary = [*1..5]; ary.pop(2); ary.sort!; end def t; ary = [*1..5]; ary.pop(2); ary.sort!; end
1.times {t} 1.times {t}
PREP PREP