1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
nobu 2016-06-30 08:13:27 +00:00
parent 7d1d8b112c
commit 7d4db05679

View file

@ -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)