diff --git a/cmd/otelcorecol/go.mod b/cmd/otelcorecol/go.mod index 56020b6675d..e424eac0584 100644 --- a/cmd/otelcorecol/go.mod +++ b/cmd/otelcorecol/go.mod @@ -32,7 +32,6 @@ require ( go.opentelemetry.io/collector/receiver v0.100.0 go.opentelemetry.io/collector/receiver/nopreceiver v0.100.0 go.opentelemetry.io/collector/receiver/otlpreceiver v0.100.0 - go.uber.org/goleak v1.3.0 golang.org/x/sys v0.20.0 ) diff --git a/cmd/otelcorecol/package_test.go b/cmd/otelcorecol/package_test.go deleted file mode 100644 index 5cd502ca564..00000000000 --- a/cmd/otelcorecol/package_test.go +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright The OpenTelemetry Authors -// SPDX-License-Identifier: Apache-2.0 - -package main - -import ( - "testing" - - "go.uber.org/goleak" -) - -func TestMain(m *testing.M) { - goleak.VerifyTestMain(m) -}