Skip to content

Commit

Permalink
Update webtransport-go usage
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoPolo committed Oct 18, 2024
1 parent 3f58703 commit 3b7bf48
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions p2p/transport/webtransport/transport_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -845,10 +845,8 @@ func TestH3ConnClosed(t *testing.T) {
NextProtos: []string{http3.NextProtoH3},
}, nil)
require.NoError(t, err)
rt := &http3.SingleDestinationRoundTripper{
Connection: conn,
}
rt.Start()
rt := &http3.Transport{}
rt.NewClientConn(conn)
require.Eventually(t, func() bool {
c := http.Client{
Transport: rt,
Expand Down

0 comments on commit 3b7bf48

Please sign in to comment.