From d767f01ec6b46ca405253295bc4ccd42e12e839e Mon Sep 17 00:00:00 2001 From: Curtis Robert Date: Fri, 5 Jan 2024 15:24:53 -0800 Subject: [PATCH] Remove flaky test --- service/internal/proctelemetry/package_test.go | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 service/internal/proctelemetry/package_test.go diff --git a/service/internal/proctelemetry/package_test.go b/service/internal/proctelemetry/package_test.go deleted file mode 100644 index 7e0b21a09f6..00000000000 --- a/service/internal/proctelemetry/package_test.go +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright The OpenTelemetry Authors -// SPDX-License-Identifier: Apache-2.0 - -package proctelemetry - -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/open-telemetry/opentelemetry-collector/issues/9165#issuecomment-1874836336 for more context. -func TestMain(m *testing.M) { - goleak.VerifyTestMain(m, goleak.IgnoreTopFunction("go.opencensus.io/stats/view.(*worker).start")) -}