mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-03 20:27:35 +03:00
use consistent version numbers in client test
This commit is contained in:
parent
d0cdfc8926
commit
78e9a3bcad
1 changed files with 2 additions and 2 deletions
|
@ -56,7 +56,7 @@ var _ = Describe("Client", func() {
|
|||
tracer = mocklogging.NewMockConnectionTracer(mockCtrl)
|
||||
tr := mocklogging.NewMockTracer(mockCtrl)
|
||||
tr.EXPECT().TracerForConnection(protocol.PerspectiveClient, gomock.Any()).Return(tracer).MaxTimes(1)
|
||||
config = &Config{Tracer: tr}
|
||||
config = &Config{Tracer: tr, Versions: []protocol.VersionNumber{protocol.VersionTLS}}
|
||||
Eventually(areSessionsRunning).Should(BeFalse())
|
||||
// sess = NewMockQuicSession(mockCtrl)
|
||||
addr = &net.UDPAddr{IP: net.IPv4(192, 168, 100, 200), Port: 1337}
|
||||
|
@ -65,7 +65,7 @@ var _ = Describe("Client", func() {
|
|||
cl = &client{
|
||||
srcConnID: connID,
|
||||
destConnID: connID,
|
||||
version: protocol.SupportedVersions[0],
|
||||
version: protocol.VersionTLS,
|
||||
conn: newSendConn(packetConn, addr),
|
||||
tracer: tracer,
|
||||
logger: utils.DefaultLogger,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue