зеркало из https://github.com/github/ruby.git
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:
Родитель
7d1d8b112c
Коммит
7d4db05679
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче