mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-02-09 03:18:34 -05:00
Remove checks for leaking flushDaemon
This commit is contained in:
parent
d83bc8727b
commit
7614c53142
@ -21,8 +21,6 @@ func TestMain(m *testing.M) {
|
|||||||
goleak.VerifyTestMain(m,
|
goleak.VerifyTestMain(m,
|
||||||
// https://github.com/census-instrumentation/opencensus-go/issues/1262
|
// https://github.com/census-instrumentation/opencensus-go/issues/1262
|
||||||
goleak.IgnoreTopFunction("go.opencensus.io/stats/view.(*worker).start"),
|
goleak.IgnoreTopFunction("go.opencensus.io/stats/view.(*worker).start"),
|
||||||
// https://github.com/kubernetes/klog/issues/282, https://github.com/kubernetes/klog/issues/188
|
|
||||||
goleak.IgnoreTopFunction("k8s.io/klog/v2.(*loggingT).flushDaemon"),
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -36,8 +36,6 @@ func TestMain(m *testing.M) {
|
|||||||
goleak.VerifyTestMain(m,
|
goleak.VerifyTestMain(m,
|
||||||
// https://github.com/census-instrumentation/opencensus-go/issues/1262
|
// https://github.com/census-instrumentation/opencensus-go/issues/1262
|
||||||
goleak.IgnoreTopFunction("go.opencensus.io/stats/view.(*worker).start"),
|
goleak.IgnoreTopFunction("go.opencensus.io/stats/view.(*worker).start"),
|
||||||
// https://github.com/kubernetes/klog/issues/282, https://github.com/kubernetes/klog/issues/188
|
|
||||||
goleak.IgnoreTopFunction("k8s.io/klog/v2.(*loggingT).flushDaemon"),
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -29,8 +29,6 @@ func TestMain(m *testing.M) {
|
|||||||
goleak.VerifyTestMain(m,
|
goleak.VerifyTestMain(m,
|
||||||
// https://github.com/census-instrumentation/opencensus-go/issues/1262
|
// https://github.com/census-instrumentation/opencensus-go/issues/1262
|
||||||
goleak.IgnoreTopFunction("go.opencensus.io/stats/view.(*worker).start"),
|
goleak.IgnoreTopFunction("go.opencensus.io/stats/view.(*worker).start"),
|
||||||
// https://github.com/kubernetes/klog/issues/282, https://github.com/kubernetes/klog/issues/188
|
|
||||||
goleak.IgnoreTopFunction("k8s.io/klog/v2.(*loggingT).flushDaemon"),
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -9,10 +9,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func TestMain(m *testing.M) {
|
func TestMain(m *testing.M) {
|
||||||
goleak.VerifyTestMain(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"),
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestInitConfiguration(t *testing.T) {
|
func TestInitConfiguration(t *testing.T) {
|
||||||
|
@ -15,10 +15,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func TestMain(m *testing.M) {
|
func TestMain(m *testing.M) {
|
||||||
goleak.VerifyTestMain(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"),
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type stubClusterUtil struct {
|
type stubClusterUtil struct {
|
||||||
|
@ -14,8 +14,6 @@ func TestMain(m *testing.M) {
|
|||||||
goleak.VerifyTestMain(m,
|
goleak.VerifyTestMain(m,
|
||||||
// https://github.com/census-instrumentation/opencensus-go/issues/1262
|
// https://github.com/census-instrumentation/opencensus-go/issues/1262
|
||||||
goleak.IgnoreTopFunction("go.opencensus.io/stats/view.(*worker).start"),
|
goleak.IgnoreTopFunction("go.opencensus.io/stats/view.(*worker).start"),
|
||||||
// https://github.com/kubernetes/klog/issues/282, https://github.com/kubernetes/klog/issues/188
|
|
||||||
goleak.IgnoreTopFunction("k8s.io/klog/v2.(*loggingT).flushDaemon"),
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -15,8 +15,6 @@ import (
|
|||||||
|
|
||||||
func TestMain(m *testing.M) {
|
func TestMain(m *testing.M) {
|
||||||
goleak.VerifyTestMain(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"),
|
|
||||||
// https://github.com/census-instrumentation/opencensus-go/issues/1262
|
// https://github.com/census-instrumentation/opencensus-go/issues/1262
|
||||||
goleak.IgnoreTopFunction("go.opencensus.io/stats/view.(*worker).start"),
|
goleak.IgnoreTopFunction("go.opencensus.io/stats/view.(*worker).start"),
|
||||||
)
|
)
|
||||||
|
@ -17,10 +17,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func TestMain(m *testing.M) {
|
func TestMain(m *testing.M) {
|
||||||
goleak.VerifyTestMain(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"),
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestGetUpdate(t *testing.T) {
|
func TestGetUpdate(t *testing.T) {
|
||||||
|
@ -135,8 +135,6 @@ func TestMain(t *testing.T) {
|
|||||||
defer goleak.VerifyNone(t,
|
defer goleak.VerifyNone(t,
|
||||||
// https://github.com/census-instrumentation/opencensus-go/issues/1262
|
// https://github.com/census-instrumentation/opencensus-go/issues/1262
|
||||||
goleak.IgnoreTopFunction("go.opencensus.io/stats/view.(*worker).start"),
|
goleak.IgnoreTopFunction("go.opencensus.io/stats/view.(*worker).start"),
|
||||||
// https://github.com/kubernetes/klog/issues/282, https://github.com/kubernetes/klog/issues/188
|
|
||||||
goleak.IgnoreTopFunction("k8s.io/klog/v2.(*loggingT).flushDaemon"),
|
|
||||||
)
|
)
|
||||||
|
|
||||||
ctx, cancel := context.WithCancel(context.Background())
|
ctx, cancel := context.WithCancel(context.Background())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user