Skip to content

Commit

Permalink
circuitv2: disable the resource manager in tests (#1899)
Browse files Browse the repository at this point in the history
  • Loading branch information
marten-seemann committed Nov 21, 2022
1 parent 6d39263 commit 75a0d42
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 75a0d42

Please sign in to comment.