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

ruby-changes:39082

From: usa <ko1@a...>
Date: Tue, 7 Jul 2015 01:49:23 +0900 (JST)
Subject: [ruby-changes:39082] usa:r51163 (trunk): * test/ruby/test_array.rb

usa	2015-07-07 01:49:01 +0900 (Tue, 07 Jul 2015)

  New Revision: 51163

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

  Log:
    * test/ruby/test_array.rb
      (TestArray#test_short_heap_array_sort_bang_memory_leak): relax the threshold
      to get rid of a false positive failure of mswin CI.

  Modified files:
    trunk/test/ruby/test_array.rb
Index: test/ruby/test_array.rb
===================================================================
--- test/ruby/test_array.rb	(revision 51162)
+++ test/ruby/test_array.rb	(revision 51163)
@@ -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, timeout: 60)
+    assert_no_memory_leak([], <<-PREP, <<-TEST, bug11332, limit: 1.25, 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/

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