diff options
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 |