From 58fc559bfcb30e55ecb4a0e36800f81fbcf10715 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Fri, 24 Nov 2023 21:43:29 -0800 Subject: [PATCH] Omit a broken https test on MinGW This started to reliably fail on MinGW at an irrelevant commit: https://github.com/ruby/ruby/actions/runs/6981002841/job/18997302124 https://github.com/ruby/ruby/actions/runs/6981946473/job/19000104223 https://github.com/ruby/ruby/actions/runs/6983823136/job/19005613809 https://github.com/ruby/ruby/actions/runs/6983912116/job/19005844596 https://github.com/ruby/ruby/actions/runs/6984215921/job/19006649495 https://github.com/ruby/ruby/actions/runs/6984383103/job/19007100446 https://github.com/ruby/ruby/actions/runs/6986489509/job/19012000642 So this failure is not detecting a new bug. Let's skip this until we fix this test for MinGW. --- test/net/http/test_https.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/test/net/http/test_https.rb b/test/net/http/test_https.rb index 2fb895a..5f9e066 100644 --- a/test/net/http/test_https.rb +++ b/test/net/http/test_https.rb @@ -167,6 +167,7 @@ def test_session_reuse def test_session_reuse_but_expire # FIXME: The new_session_cb is known broken for clients in OpenSSL 1.1.0h. omit if OpenSSL::OPENSSL_LIBRARY_VERSION.include?('OpenSSL 1.1.0h') + omit 'failing on MinGW' if /mingw/ =~ RUBY_PLATFORM http = Net::HTTP.new(HOST, config("port")) http.use_ssl = true