Skip to content

Commit

Permalink
fix: go 1.20 failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
gaukas committed Oct 27, 2023
1 parent 77691cc commit 92311cd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions integrationtests/self/zero_rtt_oldgo_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit 92311cd

Please sign in to comment.