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

ruby-changes:39074

From: normal <ko1@a...>
Date: Mon, 6 Jul 2015 05:56:00 +0900 (JST)
Subject: [ruby-changes:39074] normal:r51155 (trunk): test/ruby/test_array.rb: longer timeout for memory leak test

normal	2015-07-06 05:55:36 +0900 (Mon, 06 Jul 2015)

  New Revision: 51155

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

  Log:
    test/ruby/test_array.rb: longer timeout for memory leak test
    
    This was causing CI failures on ko1's test box

  Modified files:
    trunk/test/ruby/test_array.rb
Index: test/ruby/test_array.rb
===================================================================
--- test/ruby/test_array.rb	(revision 51154)
+++ test/ruby/test_array.rb	(revision 51155)
@@ -1447,7 +1447,7 @@ class TestArray < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_array.rb#L1447
 
   def test_short_heap_array_sort_bang_memory_leak
     bug11332 = '[ruby-dev:49166] [Bug #11332]'
-    assert_no_memory_leak([], <<-PREP, <<-TEST, bug11332, limit: 1.20)
+    assert_no_memory_leak([], <<-PREP, <<-TEST, bug11332, limit: 1.20, timeout: 60)
       def t; ary = [*1..5]; ary.pop(2); ary.sort!; end
       1.times {t}
     PREP

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

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