Skip to content

Commit

Permalink
Skip Let's Encrypt integration test on 18.3
Browse files Browse the repository at this point in the history
  • Loading branch information
voltone committed Oct 3, 2021
1 parent 6478901 commit 909ec05
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test/mint/integration_test.exs
Expand Up @@ -126,6 +126,11 @@ defmodule Mint.IntegrationTest do

@dst_and_isrg Path.expand("../support/mint/dst_and_isrg.pem", __DIR__)

# OTP 18.3 fails to connect to letsencrypt.org, skip this test
if Mint.Core.Transport.SSL.ssl_version() < [8, 0] do
@tag skip: ":ssl version too old"
end

# This test assumes the letsencrypt.org server presents the 'long chain',
# consisting of the following certificates:
#
Expand All @@ -139,7 +144,7 @@ defmodule Mint.IntegrationTest do
# This is currently the case, but won't be the case after Sep 2024, or
# possibly earlier.
test "Let's Encrypt ISRG cross-signed by expired root" do
assert {:ok, conn} =
assert {:ok, _conn} =
HTTP.connect(:https, "letsencrypt.org", 443,
transport_opts: [cacertfile: @dst_and_isrg, reuse_sessions: false]
)
Expand Down

0 comments on commit 909ec05

Please sign in to comment.