Fix test for Go 1.13
This commit is contained in:
parent
9b5392bc8f
commit
ec17f373e4
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue