Blame SOURCES/ruby-3.0.0-Skip-ssl-tests-for-offline.patch

7958ac
diff --git a/test/rubygems/test_bundled_ca.rb b/test/rubygems/test_bundled_ca.rb
7958ac
index 6973758c4c..71f61ca8f7 100644
7958ac
--- a/test/rubygems/test_bundled_ca.rb
7958ac
+++ b/test/rubygems/test_bundled_ca.rb
7958ac
@@ -32,7 +32,7 @@ def assert_https(host)
7958ac
     http.verify_mode = OpenSSL::SSL::VERIFY_PEER
7958ac
     http.cert_store = bundled_certificate_store
7958ac
     http.get('/')
7958ac
-  rescue Errno::ENOENT, Errno::ETIMEDOUT, SocketError
7958ac
+  rescue Errno::ECONNREFUSED, Errno::ENETUNREACH, Errno::ENOENT, Errno::ETIMEDOUT, SocketError
7958ac
     skip "#{host} seems offline, I can't tell whether ssl would work."
7958ac
   rescue OpenSSL::SSL::SSLError => e
7958ac
     # Only fail for certificate verification errors
7958ac
-- 
7958ac
2.29.2
7958ac