mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Client waits only the first line.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ae79409db4
commit
4179e0b5c6
1 changed files with 1 additions and 1 deletions
|
@ -263,7 +263,7 @@ class FTPTest < Test::Unit::TestCase
|
||||||
sock.print("150 Here comes the directory listing.\r\n")
|
sock.print("150 Here comes the directory listing.\r\n")
|
||||||
conn = TCPSocket.new(host, port)
|
conn = TCPSocket.new(host, port)
|
||||||
list_lines.each_with_index do |l, i|
|
list_lines.each_with_index do |l, i|
|
||||||
if i == 1
|
if i == 0
|
||||||
sleep(0.3)
|
sleep(0.3)
|
||||||
else
|
else
|
||||||
sleep(0.1)
|
sleep(0.1)
|
||||||
|
|
Loading…
Reference in a new issue