aboutsummaryrefslogtreecommitdiffstats
path: root/test/stringio
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-06-30 08:13:27 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-06-30 08:13:27 +0000
commit7d4db0567930e2b65dfa9ac502aaa72b01c924a4 (patch)
tree5b43138c5b9d4ba0d329f8ef52b7d8239c9c2862 /test/stringio
parent7d1d8b112c7005cd3d5bbe4625838b996e1bafca (diff)
downloadruby-7d4db0567930e2b65dfa9ac502aaa72b01c924a4.tar.gz
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
Diffstat (limited to 'test/stringio')
-rw-r--r--test/stringio/test_stringio.rb2
1 files changed, 1 insertions, 1 deletions
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)