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

ruby-changes:43470

From: nobu <ko1@a...>
Date: Thu, 30 Jun 2016 17:13:33 +0900 (JST)
Subject: [ruby-changes:43470] nobu:r55544 (trunk): test_stringio.rb: reduce retry count

nobu	2016-06-30 17:13:27 +0900 (Thu, 30 Jun 2016)

  New Revision: 55544

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

  Log:
    test_stringio.rb: reduce retry count
    
    * test/stringio/test_stringio.rb (test_overflow): reduce maximum
      retry count to get rid of timeout on some platforms.

  Modified files:
    trunk/test/stringio/test_stringio.rb
Index: test/stringio/test_stringio.rb
===================================================================
--- test/stringio/test_stringio.rb	(revision 55543)
+++ test/stringio/test_stringio.rb	(revision 55544)
@@ -692,7 +692,7 @@ class TestStringIO < Test::Unit::TestCas https://github.com/ruby/ruby/blob/trunk/test/stringio/test_stringio.rb#L692
         x = "a"*0x100000
         break if [x].pack("p").unpack("i!")[0] < 0
         ary << x
-        skip if ary.size > 1000
+        skip if ary.size > 100
       end
       s = StringIO.new(x)
       s.gets("xxx", limit)

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

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