Remove checks for leaking flushDaemon

This commit is contained in:
katexochen 2022-05-04 12:10:23 +02:00 committed by Paul Meyer
parent d83bc8727b
commit 7614c53142
9 changed files with 4 additions and 25 deletions

View file

@ -15,10 +15,7 @@ import (
)
func TestMain(m *testing.M) {
goleak.VerifyTestMain(m,
// https://github.com/kubernetes/klog/issues/282, https://github.com/kubernetes/klog/issues/188
goleak.IgnoreTopFunction("k8s.io/klog/v2.(*loggingT).flushDaemon"),
)
goleak.VerifyTestMain(m)
}
type stubClusterUtil struct {