From 14ee2635054860e94e402c9f1f5fd536c886b3e2 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Tue, 4 May 2021 00:59:29 +0900 Subject: Workaround failures on Windows --- test/net/http/test_https.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/net/http') diff --git a/test/net/http/test_https.rb b/test/net/http/test_https.rb index e9aee15bd3..12b954f035 100644 --- a/test/net/http/test_https.rb +++ b/test/net/http/test_https.rb @@ -142,6 +142,7 @@ class TestNetHTTPS < Test::Unit::TestCase # FIXME: The new_session_cb is known broken for clients in OpenSSL 1.1.0h. # See https://github.com/openssl/openssl/pull/5967 for details. skip if OpenSSL::OPENSSL_LIBRARY_VERSION =~ /OpenSSL 1.1.0h/ + skip if /mswin|mingw/ =~ RUBY_PLATFORM http = Net::HTTP.new("localhost", config("port")) http.use_ssl = true @@ -173,6 +174,7 @@ class TestNetHTTPS < Test::Unit::TestCase def test_session_reuse_but_expire # FIXME: The new_session_cb is known broken for clients in OpenSSL 1.1.0h. skip if OpenSSL::OPENSSL_LIBRARY_VERSION =~ /OpenSSL 1.1.0h/ + skip if /mswin|mingw/ =~ RUBY_PLATFORM http = Net::HTTP.new("localhost", config("port")) http.use_ssl = true -- cgit v1.2.3