summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/net/ftp/test_ftp.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/net/ftp/test_ftp.rb b/test/net/ftp/test_ftp.rb
index 43c4b433cd..461ba1630e 100644
--- a/test/net/ftp/test_ftp.rb
+++ b/test/net/ftp/test_ftp.rb
@@ -611,7 +611,7 @@ class FTPTest < Test::Unit::TestCase
conn = TCPSocket.new(host, port)
sleep(0.1)
conn.print(binary_data[0,1024])
- sleep(0.5)
+ sleep(1.0)
conn.print(binary_data[1024, 1024]) rescue nil # may raise EPIPE or something
conn.close
sock.print("226 Transfer complete.\r\n")
@@ -619,7 +619,7 @@ class FTPTest < Test::Unit::TestCase
begin
begin
ftp = Net::FTP.new
- ftp.read_timeout = 0.2
+ ftp.read_timeout = 0.5
ftp.connect(SERVER_ADDR, server.port)
ftp.login
assert_match(/\AUSER /, commands.shift)