From 7d4db0567930e2b65dfa9ac502aaa72b01c924a4 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 30 Jun 2016 08:13:27 +0000 Subject: 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. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/stringio/test_stringio.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/stringio') diff --git a/test/stringio/test_stringio.rb b/test/stringio/test_stringio.rb index a2778907c8..c83e8c9ec4 100644 --- a/test/stringio/test_stringio.rb +++ b/test/stringio/test_stringio.rb @@ -692,7 +692,7 @@ class TestStringIO < Test::Unit::TestCase 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) -- cgit v1.2.3