We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent79cd80e commit40dbc55Copy full SHA for 40dbc55
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
varGoleakOptions []goleak.Option= []goleak.Option{
8
+// Go spawns a goroutine to lookup the protocol when run on
9
+// windows. See https://go.dev/src/net/lookup_windows.go#L56
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"),