From 75a0d4288b574c584e511097ad9df342654a0d69 Mon Sep 17 00:00:00 2001 From: Marten Seemann Date: Tue, 22 Nov 2022 10:54:14 +1300 Subject: [PATCH] circuitv2: disable the resource manager in tests (#1899) --- 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 02a2f858db..15b0dd9dec 100644 --- a/p2p/protocol/circuitv2/client/reservation_test.go +++ b/p2p/protocol/circuitv2/client/reservation_test.go @@ -82,7 +82,7 @@ func TestReservationFailures(t *testing.T) { for _, tc := range testcases { t.Run(tc.name, func(t *testing.T) { - host, err := libp2p.New() + host, err := libp2p.New(libp2p.ResourceManager(&network.NullResourceManager{})) require.NoError(t, err) defer host.Close() if tc.streamHandler != nil {