Skip to content

Commit c42a872

Browse files
committed
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
1 parent 6e85a0e commit c42a872

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

test/ruby/test_array.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2950,7 +2950,7 @@ def test_shared_marking
29502950
Bug11235 = '[ruby-dev:49043] [Bug #11235]'
29512951

29522952
def test_push_over_ary_max
2953-
assert_separately(['-', ARY_MAX.to_s, Bug11235], "#{<<~"begin;"}\n#{<<~'end;'}", timeout: 30)
2953+
assert_separately(['-', ARY_MAX.to_s, Bug11235], "#{<<~"begin;"}\n#{<<~'end;'}", timeout: 60)
29542954
begin;
29552955
a = Array.new(ARGV[0].to_i)
29562956
assert_raise(IndexError, ARGV[1]) {0x1000.times {a.push(1)}}

test/ruby/test_autoload.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ module Bar; end
336336
end
337337

338338
def test_no_leak
339-
assert_no_memory_leak([], '', <<~'end;', 'many autoloads', timeout: 30)
339+
assert_no_memory_leak([], '', <<~'end;', 'many autoloads', timeout: 60)
340340
200000.times do |i|
341341
m = Module.new
342342
m.instance_eval do

test/ruby/test_optimization.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -717,7 +717,7 @@ def test_peephole_optimization_without_trace
717717
end
718718

719719
def test_clear_unreachable_keyword_args
720-
assert_separately [], <<-END, timeout: 30
720+
assert_separately [], <<-END, timeout: 60
721721
script = <<-EOS
722722
if true
723723
else

0 commit comments

Comments
 (0)