зеркало из https://github.com/github/ruby.git
Refix of 35206; 0.3 is too small for Ruby's timeout.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
61fcda16fd
Коммит
8630041945
|
@ -263,8 +263,8 @@ class FTPTest < Test::Unit::TestCase
|
|||
sock.print("150 Here comes the directory listing.\r\n")
|
||||
conn = TCPSocket.new(host, port)
|
||||
list_lines.each_with_index do |l, i|
|
||||
if i == 0
|
||||
sleep(0.3)
|
||||
if i == 1
|
||||
sleep(0.5)
|
||||
else
|
||||
sleep(0.1)
|
||||
end
|
||||
|
@ -377,7 +377,7 @@ class FTPTest < Test::Unit::TestCase
|
|||
conn = TCPSocket.new(host, port)
|
||||
binary_data.scan(/.{1,1024}/nm).each_with_index do |s, i|
|
||||
if i == 1
|
||||
sleep(0.3)
|
||||
sleep(0.5)
|
||||
else
|
||||
sleep(0.1)
|
||||
end
|
||||
|
|
Загрузка…
Ссылка в новой задаче