Skip to content

Commit

Permalink
Don't use rcmgr in this test (#1799)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoPolo committed Oct 6, 2022
1 parent f940b1d commit b54a26b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2p/protocol/circuitv2/client/reservation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func TestReservationFailures(t *testing.T) {
host.SetStreamHandler(proto.ProtoIDv2Hop, tc.streamHandler)
}

cl, err := libp2p.New()
cl, err := libp2p.New(libp2p.ResourceManager(network.NullResourceManager))
require.NoError(t, err)
defer cl.Close()
_, err = client.Reserve(context.Background(), cl, peer.AddrInfo{ID: host.ID(), Addrs: host.Addrs()})
Expand Down

0 comments on commit b54a26b

Please sign in to comment.