From 5a3b86df0d813727daccd34e2fb76599876a30ef Mon Sep 17 00:00:00 2001 From: Marco Munizaga Date: Thu, 6 Oct 2022 09:19:20 -0700 Subject: [PATCH] Don't use rcmgr in this test --- p2p/protocol/circuitv2/client/reservation_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p2p/protocol/circuitv2/client/reservation_test.go b/p2p/protocol/circuitv2/client/reservation_test.go index c1abcc1155..c50a46160a 100644 --- a/p2p/protocol/circuitv2/client/reservation_test.go +++ b/p2p/protocol/circuitv2/client/reservation_test.go @@ -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()})