From c42a872e5b960696f7ae4377ab80cbeb4b1d837b Mon Sep 17 00:00:00 2001 From: k0kubun Date: Fri, 28 Dec 2018 14:05:45 +0000 Subject: 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 --- test/ruby/test_array.rb | 2 +- test/ruby/test_autoload.rb | 2 +- test/ruby/test_optimization.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'test') diff --git a/test/ruby/test_array.rb b/test/ruby/test_array.rb index 0d0fa94de3..4a8e593b5c 100644 --- a/test/ruby/test_array.rb +++ b/test/ruby/test_array.rb @@ -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)}} diff --git a/test/ruby/test_autoload.rb b/test/ruby/test_autoload.rb index 8311c40c35..34e0178d0e 100644 --- a/test/ruby/test_autoload.rb +++ b/test/ruby/test_autoload.rb @@ -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 diff --git a/test/ruby/test_optimization.rb b/test/ruby/test_optimization.rb index 5609602c1a..853fade279 100644 --- a/test/ruby/test_optimization.rb +++ b/test/ruby/test_optimization.rb @@ -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 -- cgit v1.2.3