From 995d212a64ccf25d4a117e5413d03dfdfbb71752 Mon Sep 17 00:00:00 2001 From: usa Date: Tue, 3 Apr 2012 10:03:30 +0000 Subject: * test/net/ftp/test_ftp.rb (FTPTest#create_ftp_server): should wait a little before closing socket because if the client call Net::FTP#getmultiline the socket is suddenly closed by the server in the getline loop. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/net/ftp/test_ftp.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'test') diff --git a/test/net/ftp/test_ftp.rb b/test/net/ftp/test_ftp.rb index a020b7d0f9..c5f598fba6 100644 --- a/test/net/ftp/test_ftp.rb +++ b/test/net/ftp/test_ftp.rb @@ -591,6 +591,7 @@ class FTPTest < Test::Unit::TestCase sock = server.accept begin yield(sock) + sleep 0.1 ensure sock.close end -- cgit v1.2.3