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

ruby-changes:44589

From: shugo <ko1@a...>
Date: Mon, 7 Nov 2016 15:57:18 +0900 (JST)
Subject: [ruby-changes:44589] shugo:r56662 (trunk): Extend Net::HTTP#open_timeout for chkbuild on Solaris 10s.

shugo	2016-11-07 15:57:14 +0900 (Mon, 07 Nov 2016)

  New Revision: 56662

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

  Log:
    Extend Net::HTTP#open_timeout for chkbuild on Solaris 10s.

  Modified files:
    trunk/test/net/smtp/test_smtp.rb
Index: test/net/smtp/test_smtp.rb
===================================================================
--- test/net/smtp/test_smtp.rb	(revision 56661)
+++ test/net/smtp/test_smtp.rb	(revision 56662)
@@ -128,7 +128,7 @@ module Net https://github.com/ruby/ruby/blob/trunk/test/net/smtp/test_smtp.rb#L128
         end
         smtp = Net::SMTP.new("localhost", servers[0].local_address.ip_port)
         smtp.enable_tls
-        smtp.open_timeout = 0.1
+        smtp.open_timeout = 1
         smtp.start do
         end
       ensure

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

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