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

ruby-changes:42999

From: usa <ko1@a...>
Date: Thu, 19 May 2016 13:34:36 +0900 (JST)
Subject: [ruby-changes:42999] usa:r55073 (trunk): * test/ruby/test_array.rb (TestArray#test_push_over_ary_max): it seems to take

usa	2016-05-19 13:34:30 +0900 (Thu, 19 May 2016)

  New Revision: 55073

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

  Log:
    * test/ruby/test_array.rb (TestArray#test_push_over_ary_max): it seems to take
      long time on mswinci.

  Modified files:
    trunk/test/ruby/test_array.rb
Index: test/ruby/test_array.rb
===================================================================
--- test/ruby/test_array.rb	(revision 55072)
+++ test/ruby/test_array.rb	(revision 55073)
@@ -2684,7 +2684,7 @@ class TestArray < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_array.rb#L2684
     Bug11235 = '[ruby-dev:49043] [Bug #11235]'
 
     def test_push_over_ary_max
-      assert_separately(['-', ARY_MAX.to_s, Bug11235], <<-"end;")
+      assert_separately(['-', ARY_MAX.to_s, Bug11235], <<-"end;", timeout: 20)
         a = Array.new(ARGV[0].to_i)
         assert_raise(IndexError, ARGV[1]) {0x1000.times {a.push(1)}}
       end;

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

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