From 870c4c6cf1609f6919f639b24016bf586f9f83f5 Mon Sep 17 00:00:00 2001 From: Curtis Robert Date: Tue, 30 Jan 2024 08:46:38 -0800 Subject: [PATCH] [chore][exporter/signalfx] Remove failing/flaky goleak test (#30874) Related to #30864 --- .../internal/correlation/package_test.go | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 exporter/signalfxexporter/internal/correlation/package_test.go diff --git a/exporter/signalfxexporter/internal/correlation/package_test.go b/exporter/signalfxexporter/internal/correlation/package_test.go deleted file mode 100644 index 0d55bd5d83fe..000000000000 --- a/exporter/signalfxexporter/internal/correlation/package_test.go +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright The OpenTelemetry Authors -// SPDX-License-Identifier: Apache-2.0 - -package correlation - -import ( - "testing" - - "go.uber.org/goleak" -) - -// The IgnoreTopFunction call prevents catching the leak generated by opencensus -// defaultWorker.Start which at this time is part of the package's init call. -// See https://github.com/census-instrumentation/opencensus-go/issues/1191 for more information. -func TestMain(m *testing.M) { - goleak.VerifyTestMain(m, goleak.IgnoreTopFunction("go.opencensus.io/stats/view.(*worker).start")) -}