Skip to content

Commit

Permalink
Use null resource manager so that the new IP limit doesn't break tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoPolo committed May 20, 2024
1 parent 0426085 commit 94969bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gossipsub_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2557,7 +2557,7 @@ func getDefaultHosts(t *testing.T, n int) []host.Host {
var out []host.Host

for i := 0; i < n; i++ {
h, err := libp2p.New()
h, err := libp2p.New(libp2p.ResourceManager(&network.NullResourceManager{}))
if err != nil {
t.Fatal(err)
}
Expand Down

0 comments on commit 94969bd

Please sign in to comment.