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 (TestArray#test_push_over_ary_max): it seems to take

long time on mswinci.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2016-05-19 04:34:30 +00:00
parent a3e666b42a
commit 345d2ba145

View file

@ -2684,7 +2684,7 @@ class TestArray < Test::Unit::TestCase
Bug11235 = '[ruby-dev:49043] [Bug #11235]'
def test_push_over_ary_max
assert_separately(['-', ARY_MAX.to_s, Bug11235], <<-"end;")
assert_separately(['-', ARY_MAX.to_s, Bug11235], <<-"end;", timeout: 20)
a = Array.new(ARGV[0].to_i)
assert_raise(IndexError, ARGV[1]) {0x1000.times {a.push(1)}}
end;