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

ruby-changes:55086

From: k0kubun <ko1@a...>
Date: Mon, 18 Mar 2019 20:46:26 +0900 (JST)
Subject: [ruby-changes:55086] k0kubun:r67293 (trunk): Merge https://github.com/rubygems/rubygems/pull/2684

k0kubun	2019-03-18 20:46:21 +0900 (Mon, 18 Mar 2019)

  New Revision: 67293

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

  Log:
    Merge https://github.com/rubygems/rubygems/pull/2684
    
    to make CI stable. See the PR for details.

  Modified files:
    trunk/test/rubygems/test_bundled_ca.rb
Index: test/rubygems/test_bundled_ca.rb
===================================================================
--- test/rubygems/test_bundled_ca.rb	(revision 67292)
+++ test/rubygems/test_bundled_ca.rb	(revision 67293)
@@ -37,7 +37,7 @@ if ENV["CI"] || ENV["TEST_SSL"] https://github.com/ruby/ruby/blob/trunk/test/rubygems/test_bundled_ca.rb#L37
       http.verify_mode = OpenSSL::SSL::VERIFY_PEER
       http.cert_store = bundled_certificate_store
       http.get('/')
-    rescue Errno::ENOENT, Errno::ETIMEDOUT
+    rescue Errno::ENOENT, Errno::ETIMEDOUT, SocketError
       skip "#{host} seems offline, I can't tell whether ssl would work."
     rescue OpenSSL::SSL::SSLError => e
       # Only fail for certificate verification errors

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

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