mirror of
https://github.com/prometheus/prometheus.git
synced 2025-01-13 06:47:28 -08:00
Update goleak for change in glog
Evidently the internal type changed.
This commit is contained in:
parent
34e7d9d997
commit
013fdb9460
|
@ -68,7 +68,7 @@ func TestMain(m *testing.M) {
|
||||||
// Ignore "ristretto" and its dependency "glog".
|
// Ignore "ristretto" and its dependency "glog".
|
||||||
goleak.IgnoreTopFunction("github.com/dgraph-io/ristretto.(*defaultPolicy).processItems"),
|
goleak.IgnoreTopFunction("github.com/dgraph-io/ristretto.(*defaultPolicy).processItems"),
|
||||||
goleak.IgnoreTopFunction("github.com/dgraph-io/ristretto.(*Cache).processItems"),
|
goleak.IgnoreTopFunction("github.com/dgraph-io/ristretto.(*Cache).processItems"),
|
||||||
goleak.IgnoreTopFunction("github.com/golang/glog.(*loggingT).flushDaemon"),
|
goleak.IgnoreTopFunction("github.com/golang/glog.(*fileSink).flushDaemon"),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -43,6 +43,6 @@ func TolerantVerifyLeak(m *testing.M) {
|
||||||
// Ignore "ristretto" and its dependency "glog".
|
// Ignore "ristretto" and its dependency "glog".
|
||||||
goleak.IgnoreTopFunction("github.com/dgraph-io/ristretto.(*defaultPolicy).processItems"),
|
goleak.IgnoreTopFunction("github.com/dgraph-io/ristretto.(*defaultPolicy).processItems"),
|
||||||
goleak.IgnoreTopFunction("github.com/dgraph-io/ristretto.(*Cache).processItems"),
|
goleak.IgnoreTopFunction("github.com/dgraph-io/ristretto.(*Cache).processItems"),
|
||||||
goleak.IgnoreTopFunction("github.com/golang/glog.(*loggingT).flushDaemon"),
|
goleak.IgnoreTopFunction("github.com/golang/glog.(*fileSink).flushDaemon"),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue