Fix test for Go 1.13

This commit is contained in:
Jeff Mitchell 2019-11-18 23:10:22 -05:00
parent 9b5392bc8f
commit ec17f373e4
1 changed files with 1 additions and 1 deletions

View File

@ -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")