mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-18 16:45:28 +00:00
test(lib): add go.opencensus.io/stats/view to knownLeaks
Signed-off-by: Dwi Siswanto <git@dw1.io>
This commit is contained in:
parent
e84048c153
commit
46b94050d9
@ -19,6 +19,9 @@ var knownLeaks = []goleak.Option{
|
||||
// net/http transport maintains idle connections which are closed with cooldown
|
||||
// hence they don't count as leaks
|
||||
goleak.IgnoreAnyFunction("net/http.(*http2ClientConn).readLoop"),
|
||||
// NOTE(dwisiswant0): This is an indirect call and not used anywhere, not
|
||||
// even within SOPS (#5841). See `go mod why go.opencensus.io/stats/view`.
|
||||
goleak.IgnoreAnyContainingPkg("go.opencensus.io/stats/view"),
|
||||
}
|
||||
|
||||
func TestSimpleNuclei(t *testing.T) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user