mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
test_array.rb: increase timeout for RubyCI
to prevent random failures. test/ruby/test_autoload.rb: ditto test/ruby/test_optimization.rb: ditto20181228
T101706Z.fail.html.gz20181228
T114549Z.fail.html.gz git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6e85a0ea7e
commit
c42a872e5b
3 changed files with 3 additions and 3 deletions
|
@ -2950,7 +2950,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], "#{<<~"begin;"}\n#{<<~'end;'}", timeout: 30)
|
assert_separately(['-', ARY_MAX.to_s, Bug11235], "#{<<~"begin;"}\n#{<<~'end;'}", timeout: 60)
|
||||||
begin;
|
begin;
|
||||||
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)}}
|
||||||
|
|
|
@ -336,7 +336,7 @@ p Foo::Bar
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_no_leak
|
def test_no_leak
|
||||||
assert_no_memory_leak([], '', <<~'end;', 'many autoloads', timeout: 30)
|
assert_no_memory_leak([], '', <<~'end;', 'many autoloads', timeout: 60)
|
||||||
200000.times do |i|
|
200000.times do |i|
|
||||||
m = Module.new
|
m = Module.new
|
||||||
m.instance_eval do
|
m.instance_eval do
|
||||||
|
|
|
@ -717,7 +717,7 @@ class TestRubyOptimization < Test::Unit::TestCase
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_clear_unreachable_keyword_args
|
def test_clear_unreachable_keyword_args
|
||||||
assert_separately [], <<-END, timeout: 30
|
assert_separately [], <<-END, timeout: 60
|
||||||
script = <<-EOS
|
script = <<-EOS
|
||||||
if true
|
if true
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue