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

ruby-changes:31088

From: naruse <ko1@a...>
Date: Mon, 7 Oct 2013 15:36:33 +0900 (JST)
Subject: [ruby-changes:31088] naruse:r43167 (trunk): Increase open_timeout [Bug #8986]

naruse	2013-10-07 15:36:27 +0900 (Mon, 07 Oct 2013)

  New Revision: 43167

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=43167

  Log:
    Increase open_timeout [Bug #8986]

  Modified files:
    trunk/test/net/http/test_http.rb
Index: test/net/http/test_http.rb
===================================================================
--- test/net/http/test_http.rb	(revision 43166)
+++ test/net/http/test_http.rb	(revision 43167)
@@ -403,7 +403,7 @@ module TestNetHTTP_version_1_1_methods https://github.com/ruby/ruby/blob/trunk/test/net/http/test_http.rb#L403
 
       conn = Net::HTTP.new('localhost', port)
       conn.read_timeout = 0.01
-      conn.open_timeout = 0.01
+      conn.open_timeout = 0.1
 
       th = Thread.new do
         assert_raise(Net::ReadTimeout) {

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

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