Skip to content

Commit 94969bd

Browse files
committed
Use null resource manager so that the new IP limit doesn't break tests
1 parent 0426085 commit 94969bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gossipsub_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2557,7 +2557,7 @@ func getDefaultHosts(t *testing.T, n int) []host.Host {
25572557
var out []host.Host
25582558

25592559
for i := 0; i < n; i++ {
2560-
h, err := libp2p.New()
2560+
h, err := libp2p.New(libp2p.ResourceManager(&network.NullResourceManager{}))
25612561
if err != nil {
25622562
t.Fatal(err)
25632563
}

0 commit comments

Comments
 (0)