[前][次][番号順一覧][スレッド一覧]

ruby-changes:54400

From: k0kubun <ko1@a...>
Date: Fri, 28 Dec 2018 23:05:49 +0900 (JST)
Subject: [ruby-changes:54400] k0kubun:r66614 (trunk): test_array.rb: increase timeout for RubyCI

k0kubun	2018-12-28 23:05:45 +0900 (Fri, 28 Dec 2018)

  New Revision: 66614

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66614

  Log:
    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

  Modified files:
    trunk/test/ruby/test_array.rb
    trunk/test/ruby/test_autoload.rb
    trunk/test/ruby/test_optimization.rb
Index: test/ruby/test_autoload.rb
===================================================================
--- test/ruby/test_autoload.rb	(revision 66613)
+++ test/ruby/test_autoload.rb	(revision 66614)
@@ -336,7 +336,7 @@ p Foo::Bar https://github.com/ruby/ruby/blob/trunk/test/ruby/test_autoload.rb#L336
   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
Index: test/ruby/test_array.rb
===================================================================
--- test/ruby/test_array.rb	(revision 66613)
+++ test/ruby/test_array.rb	(revision 66614)
@@ -2950,7 +2950,7 @@ class TestArray < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_array.rb#L2950
     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)}}
Index: test/ruby/test_optimization.rb
===================================================================
--- test/ruby/test_optimization.rb	(revision 66613)
+++ test/ruby/test_optimization.rb	(revision 66614)
@@ -717,7 +717,7 @@ class TestRubyOptimization < Test::Unit: https://github.com/ruby/ruby/blob/trunk/test/ruby/test_optimization.rb#L717
   end
 
   def test_clear_unreachable_keyword_args
-    assert_separately [], <<-END, timeout: 30
+    assert_separately [], <<-END, timeout: 60
       script =  <<-EOS
         if true
         else

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]