From 94969bd585020e563d86cc049729b62ae53b545e Mon Sep 17 00:00:00 2001 From: Marco Munizaga Date: Mon, 20 May 2024 16:08:38 -0700 Subject: [PATCH] Use null resource manager so that the new IP limit doesn't break tests --- gossipsub_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gossipsub_test.go b/gossipsub_test.go index 3795907c..5933f4b5 100644 --- a/gossipsub_test.go +++ b/gossipsub_test.go @@ -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) }