From ec17f373e47cfd407de12d7ceca70913d750b9ba Mon Sep 17 00:00:00 2001 From: Jeff Mitchell Date: Mon, 18 Nov 2019 23:10:22 -0500 Subject: [PATCH] Fix test for Go 1.13 --- vault/cluster_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vault/cluster_test.go b/vault/cluster_test.go index f20d2474a..d148e5f78 100644 --- a/vault/cluster_test.go +++ b/vault/cluster_test.go @@ -128,7 +128,7 @@ func TestCluster_ListenForRequests(t *testing.T) { } connState := conn.ConnectionState() switch { - case connState.Version != tls.VersionTLS12: + case connState.Version != tls.VersionTLS12 && connState.Version != tls.VersionTLS13: t.Fatal("version mismatch") case connState.NegotiatedProtocol != consts.RequestForwardingALPN || !connState.NegotiatedProtocolIsMutual: t.Fatal("bad protocol negotiation")