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: ditto https://rubyci.org/logs/rubyci.s3.amazonaws.com/scw-9d6766/ruby-trunk/log/20181228T101706Z.fail.html.gz https://rubyci.org/logs/mswinci.japaneast.cloudapp.azure.com/vc12-x64/ruby-trunk/log/20181228T114549Z.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]'
|
||||
|
||||
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;
|
||||
a = Array.new(ARGV[0].to_i)
|
||||
assert_raise(IndexError, ARGV[1]) {0x1000.times {a.push(1)}}
|
||||
|
|
|
@ -336,7 +336,7 @@ p Foo::Bar
|
|||
end
|
||||
|
||||
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|
|
||||
m = Module.new
|
||||
m.instance_eval do
|
||||
|
|
|
@ -717,7 +717,7 @@ class TestRubyOptimization < Test::Unit::TestCase
|
|||
end
|
||||
|
||||
def test_clear_unreachable_keyword_args
|
||||
assert_separately [], <<-END, timeout: 30
|
||||
assert_separately [], <<-END, timeout: 60
|
||||
script = <<-EOS
|
||||
if true
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue