[前][次][番号順一覧][スレッド一覧]

ruby-changes:49276

From: shugo <ko1@a...>
Date: Fri, 22 Dec 2017 08:28:21 +0900 (JST)
Subject: [ruby-changes:49276] shugo:r61393 (trunk): Extend timeout for CI.

shugo	2017-12-22 08:28:15 +0900 (Fri, 22 Dec 2017)

  New Revision: 61393

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61393

  Log:
    Extend timeout for CI.
    
    http://ci.rvm.jp/results/trunk-asserts-nopara@ruby-sky1/266962

  Modified files:
    trunk/test/net/ftp/test_ftp.rb
Index: test/net/ftp/test_ftp.rb
===================================================================
--- test/net/ftp/test_ftp.rb	(revision 61392)
+++ test/net/ftp/test_ftp.rb	(revision 61393)
@@ -611,7 +611,7 @@ class FTPTest < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/net/ftp/test_ftp.rb#L611
       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 https://github.com/ruby/ruby/blob/trunk/test/net/ftp/test_ftp.rb#L619
     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)

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]