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:
parent
a3e666b42a
commit
345d2ba145
1 changed files with 1 additions and 1 deletions
|
@ -2684,7 +2684,7 @@ class TestArray < Test::Unit::TestCase
|
||||||
Bug11235 = '[ruby-dev:49043] [Bug #11235]'
|
Bug11235 = '[ruby-dev:49043] [Bug #11235]'
|
||||||
|
|
||||||
def test_push_over_ary_max
|
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)
|
a = Array.new(ARGV[0].to_i)
|
||||||
assert_raise(IndexError, ARGV[1]) {0x1000.times {a.push(1)}}
|
assert_raise(IndexError, ARGV[1]) {0x1000.times {a.push(1)}}
|
||||||
end;
|
end;
|
||||||
|
|
Loading…
Reference in a new issue