We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9ed0dd commit 355e2e2Copy full SHA for 355e2e2
testutil/goleak.go
@@ -5,6 +5,9 @@ import "go.uber.org/goleak"
5
// GoleakOptions is a common list of options to pass to goleak. This is useful if there is a known
6
// leaky function we want to exclude from goleak.
7
var GoleakOptions []goleak.Option = []goleak.Option{
8
+ // Go spawns a goroutine to lookup the protocol when run on
9
+ // windows.
10
+ goleak.IgnoreAnyFunction("net.lookupProtocol.func1"),
11
// seelog (indirect dependency of dd-trace-go) has a known goroutine leak (https://github.com/cihub/seelog/issues/182)
12
// When https://github.com/DataDog/dd-trace-go/issues/2987 is resolved, this can be removed.
13
goleak.IgnoreAnyFunction("github.com/cihub/seelog.(*asyncLoopLogger).processQueue"),
0 commit comments