Skip to content

Commit

Permalink
fix: dht leak ignore
Browse files Browse the repository at this point in the history
Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com>
  • Loading branch information
gfanton committed Jun 22, 2023
1 parent 04c6bdc commit 95fd301
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions go/internal/initutil/manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,15 +76,16 @@ func verifyRunningLeakDetection(t *testing.T) {
goleak.IgnoreTopFunction("github.com/libp2p/go-libp2p/p2p/discovery/mdns_legacy.(*mdnsService).startResolver.func1"), // the closing routine has big timeout, should be managed by ipfs
goleak.IgnoreTopFunction("github.com/libp2p/go-libp2p/p2p/discovery/mdns.(*mdnsService).startResolver.func1"), // the closing routine has big timeout, should be managed by ipfs
goleak.IgnoreTopFunction("github.com/libp2p/go-libp2p-kad-dht/providers.(*ProviderManager).GetProviders"), // the closing routine has big timeout, should be managed by ipfs
goleak.IgnoreTopFunction("github.com/libp2p/zeroconf/v2.(*client).mainloop"), // the closing routine has big timeout, should be managed by ipfs
goleak.IgnoreTopFunction("github.com/libp2p/zeroconf/v2.(*client).periodicQuery"), // the closing routine has big timeout, should be managed by ipfs
goleak.IgnoreTopFunction("github.com/ipfs/kubo/core/bootstrap.bootstrapConnect.func1 "), // the closing routine has big timeout, should be managed by ipfs
goleak.IgnoreTopFunction("go.opencensus.io/stats/view.(*worker).start"), // called by init() in berty/go/internal/grpcutil/server.go
goleak.IgnoreTopFunction("go.uber.org/fx.withTimeout"), // sometimes happening on CI, need more investigation
goleak.IgnoreTopFunction("internal/poll.runtime_pollWait"), // upstream issue of mdns, go wakeup periodiclly to do action before check exist, timeout about 10 seconds
goleak.IgnoreTopFunction("net.(*netFD).connect.func2"), // FIXME - many libraries used this code
goleak.IgnoreTopFunction("sync.runtime_Semacquire"), // the closing routine has big timeout
goleak.IgnoreTopFunction("sync.runtime_SemacquireMutex"), // sometimes happening on CI, need more investigation
goleak.IgnoreTopFunction("github.com/libp2p/go-libp2p-kad-dht/dual.(*DHT).FindProvidersAsync.func1"),
goleak.IgnoreTopFunction("github.com/libp2p/zeroconf/v2.(*client).mainloop"), // the closing routine has big timeout, should be managed by ipfs
goleak.IgnoreTopFunction("github.com/libp2p/zeroconf/v2.(*client).periodicQuery"), // the closing routine has big timeout, should be managed by ipfs
goleak.IgnoreTopFunction("github.com/ipfs/kubo/core/bootstrap.bootstrapConnect.func1 "), // the closing routine has big timeout, should be managed by ipfs
goleak.IgnoreTopFunction("go.opencensus.io/stats/view.(*worker).start"), // called by init() in berty/go/internal/grpcutil/server.go
goleak.IgnoreTopFunction("go.uber.org/fx.withTimeout"), // sometimes happening on CI, need more investigation
goleak.IgnoreTopFunction("internal/poll.runtime_pollWait"), // upstream issue of mdns, go wakeup periodiclly to do action before check exist, timeout about 10 seconds
goleak.IgnoreTopFunction("net.(*netFD).connect.func2"), // FIXME - many libraries used this code
goleak.IgnoreTopFunction("sync.runtime_Semacquire"), // the closing routine has big timeout
goleak.IgnoreTopFunction("sync.runtime_SemacquireMutex"), // sometimes happening on CI, need more investigation
)
}

Expand Down

0 comments on commit 95fd301

Please sign in to comment.