diff options
author | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-03-18 11:46:21 +0000 |
---|---|---|
committer | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-03-18 11:46:21 +0000 |
commit | c1dce923739d0355520c02eb588bc96bedae4328 (patch) | |
tree | 00df9974e397c4f6079a6b4be275b5dfce30974e /test | |
parent | 17018d4c31a86af2b47e09b3229dab2e80d3db6d (diff) | |
download | ruby-c1dce923739d0355520c02eb588bc96bedae4328.tar.gz |
Merge https://github.com/rubygems/rubygems/pull/2684
to make CI stable. See the PR for details.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/rubygems/test_bundled_ca.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rubygems/test_bundled_ca.rb b/test/rubygems/test_bundled_ca.rb index 97a64af323..ad66f3e616 100644 --- a/test/rubygems/test_bundled_ca.rb +++ b/test/rubygems/test_bundled_ca.rb @@ -37,7 +37,7 @@ if ENV["CI"] || ENV["TEST_SSL"] 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 |