ruby-changes:48901
From: shugo <ko1@a...>
Date: Tue, 5 Dec 2017 09:59:48 +0900 (JST)
Subject: [ruby-changes:48901] shugo:r61019 (trunk): Remove unnecessary read_timeout.
shugo 2017-12-05 09:59:40 +0900 (Tue, 05 Dec 2017) New Revision: 61019 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61019 Log: Remove unnecessary read_timeout. http://ci.rvm.jp/results/trunk-asserts-nopara@ruby-sky1/219867 Modified files: trunk/test/net/ftp/test_ftp.rb Index: test/net/ftp/test_ftp.rb =================================================================== --- test/net/ftp/test_ftp.rb (revision 61018) +++ test/net/ftp/test_ftp.rb (revision 61019) @@ -490,7 +490,7 @@ class FTPTest < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/net/ftp/test_ftp.rb#L490 begin begin ftp = Net::FTP.new - ftp.read_timeout = 0.2 + ftp.read_timeout = 1.0 ftp.connect(SERVER_ADDR, server.port) ftp.login assert_match(/\AUSER /, commands.shift) @@ -533,7 +533,6 @@ class FTPTest < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/net/ftp/test_ftp.rb#L533 begin begin ftp = Net::FTP.new - ftp.read_timeout = 0.2 ftp.connect(SERVER_ADDR, server.port) ftp.login assert_match(/\AUSER /, commands.shift) @@ -1233,7 +1232,6 @@ EOF https://github.com/ruby/ruby/blob/trunk/test/net/ftp/test_ftp.rb#L1232 begin begin ftp = Net::FTP.new - #ftp.read_timeout = 0.2 ftp.connect(SERVER_ADDR, server.port) ftp.login assert_match(/\AUSER /, commands.shift) @@ -1266,7 +1264,6 @@ EOF https://github.com/ruby/ruby/blob/trunk/test/net/ftp/test_ftp.rb#L1264 begin begin ftp = Net::FTP.new - ftp.read_timeout = 0.2 ftp.connect(SERVER_ADDR, server.port) ftp.login assert_match(/\AUSER /, commands.shift) @@ -1299,7 +1296,6 @@ EOF https://github.com/ruby/ruby/blob/trunk/test/net/ftp/test_ftp.rb#L1296 begin begin ftp = Net::FTP.new - ftp.read_timeout = 0.2 ftp.connect(SERVER_ADDR, server.port) ftp.login assert_match(/\AUSER /, commands.shift) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/