fix: go 1.20 failing test

This commit is contained in:
Gaukas Wang 2023-10-26 23:26:51 -06:00
parent 77691ccce8
commit 92311cd441
No known key found for this signature in database
GPG key ID: 9E2F8986D76F8B5D

View file

@ -12,7 +12,7 @@ import (
"sync/atomic"
"time"
"github.com/refraction-networking/uquic"
quic "github.com/refraction-networking/uquic"
tls "github.com/refraction-networking/utls"
quicproxy "github.com/refraction-networking/uquic/integrationtests/tools/proxy"
@ -562,7 +562,8 @@ var _ = Describe("0-RTT", func() {
tlsConf, clientConf := dialAndReceiveSessionTicket(nil)
// now close the listener and dial new connection with a different ALPN
clientConf.NextProtos = []string{"new-alpn"}
// clientConf.NextProtos = []string{"new-alpn"}
clientConf.NextProtos = append(clientConf.NextProtos, "new-alpn")
tlsConf.NextProtos = []string{"new-alpn"}
counter, tracer := newPacketTracer()
ln, err := quic.ListenAddrEarly(