mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Extend timeout for CI.
http://ci.rvm.jp/results/trunk-asserts-nopara@ruby-sky1/266962 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
bf287424fd
commit
c55200763d
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue