summaryrefslogtreecommitdiff
path: root/test/net
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-05-04 00:59:29 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-05-04 00:59:29 +0900
commit14ee2635054860e94e402c9f1f5fd536c886b3e2 (patch)
tree118139f603ea247133df6d1bd403cddf26087964 /test/net
parenta029644845249198d3cdafad4fe5db1e7fdfd770 (diff)
Workaround failures on Windows
Diffstat (limited to 'test/net')
-rw-r--r--test/net/http/test_https.rb2
1 files changed, 2 insertions, 0 deletions
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