Skip to content

Commit

Permalink
circuitv2: disable the resource manager in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
marten-seemann committed Nov 17, 2022
1 parent 84ded7d commit 69ccef0
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 @@ -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 {
Expand Down

0 comments on commit 69ccef0

Please sign in to comment.