From 460c9095be1069f0835b82724c74ae9057aa9ecd Mon Sep 17 00:00:00 2001 From: Alex Boten Date: Thu, 1 Feb 2024 15:30:28 -0800 Subject: [PATCH] [chore] remove skipped leak check (#31011) This is no longer needed in many places as census isn't loaded anymore Signed-off-by: Alex Boten --- .../cfgmetadatagen/cfgmetadatagen/package_test.go | 5 +---- cmd/mdatagen/internal/metadata/package_test.go | 5 +---- connector/countconnector/package_test.go | 5 +---- connector/exceptionsconnector/package_test.go | 5 +---- connector/failoverconnector/package_test.go | 5 +---- connector/routingconnector/package_test.go | 5 +---- connector/servicegraphconnector/package_test.go | 5 +---- connector/spanmetricsconnector/package_test.go | 5 +---- exporter/alertmanagerexporter/package_test.go | 5 +---- exporter/awskinesisexporter/package_test.go | 5 +---- exporter/carbonexporter/package_test.go | 5 +---- exporter/cassandraexporter/package_test.go | 5 +---- exporter/clickhouseexporter/package_test.go | 5 +---- exporter/datadogexporter/internal/clientutil/package_test.go | 5 +---- exporter/datadogexporter/internal/logs/package_test.go | 5 +---- exporter/dynatraceexporter/config/package_test.go | 5 +---- exporter/elasticsearchexporter/package_test.go | 5 +---- exporter/honeycombmarkerexporter/package_test.go | 5 +---- exporter/instanaexporter/package_test.go | 5 +---- exporter/logicmonitorexporter/internal/logs/package_test.go | 5 +---- .../logicmonitorexporter/internal/traces/package_test.go | 5 +---- exporter/lokiexporter/package_test.go | 5 +---- exporter/mezmoexporter/package_test.go | 5 +---- exporter/opensearchexporter/package_test.go | 5 +---- exporter/sentryexporter/package_test.go | 5 +---- .../signalfxexporter/internal/hostmetadata/package_test.go | 5 +---- exporter/syslogexporter/package_test.go | 5 +---- exporter/zipkinexporter/package_test.go | 5 +---- extension/basicauthextension/package_test.go | 5 +---- extension/encoding/jaegerencodingextension/package_test.go | 5 +---- extension/encoding/jsonlogencodingextension/package_test.go | 5 +---- extension/encoding/otlpencodingextension/package_test.go | 5 +---- extension/encoding/textencodingextension/package_test.go | 5 +---- extension/encoding/zipkinencodingextension/package_test.go | 5 +---- extension/headerssetterextension/package_test.go | 5 +---- extension/httpforwarder/package_test.go | 5 +---- extension/oauth2clientauthextension/package_test.go | 5 +---- extension/observer/ecsobserver/package_test.go | 5 +---- extension/observer/ecstaskobserver/package_test.go | 5 +---- extension/observer/hostobserver/package_test.go | 5 +---- extension/pprofextension/package_test.go | 5 +---- extension/remotetapextension/package_test.go | 5 +---- extension/storage/dbstorage/package_test.go | 5 +---- extension/storage/filestorage/package_test.go | 5 +---- extension/storage/storagetest/package_test.go | 5 +---- internal/aws/ecsutil/package_test.go | 5 +---- internal/filter/filterottl/package_test.go | 5 +---- internal/sharedcomponent/package_test.go | 5 +---- internal/splunk/package_test.go | 5 +---- pkg/ottl/e2e/package_test.go | 5 +---- pkg/ottl/ottlfuncs/package_test.go | 5 +---- pkg/ottl/package_test.go | 5 +---- processor/attributesprocessor/package_test.go | 5 +---- processor/cumulativetodeltaprocessor/package_test.go | 5 +---- processor/deltatorateprocessor/package_test.go | 5 +---- processor/filterprocessor/package_test.go | 5 +---- processor/groupbyattrsprocessor/package_test.go | 5 +---- processor/logstransformprocessor/package_test.go | 5 +---- processor/metricsgenerationprocessor/package_test.go | 5 +---- processor/metricstransformprocessor/package_test.go | 5 +---- processor/redactionprocessor/package_test.go | 5 +---- .../internal/aws/ec2/package_test.go | 5 +---- .../internal/aws/ecs/package_test.go | 5 +---- .../internal/aws/eks/package_test.go | 5 +---- .../internal/aws/elasticbeanstalk/package_test.go | 5 +---- .../internal/aws/lambda/package_test.go | 5 +---- .../internal/azure/aks/package_test.go | 5 +---- .../internal/azure/package_test.go | 5 +---- .../internal/docker/package_test.go | 5 +---- .../resourcedetectionprocessor/internal/env/package_test.go | 5 +---- .../internal/heroku/package_test.go | 5 +---- .../internal/k8snode/package_test.go | 5 +---- .../resourcedetectionprocessor/internal/package_test.go | 5 +---- .../internal/system/package_test.go | 5 +---- processor/resourcedetectionprocessor/package_test.go | 5 +---- processor/resourceprocessor/package_test.go | 5 +---- processor/routingprocessor/package_test.go | 5 +---- processor/schemaprocessor/package_test.go | 5 +---- processor/spanprocessor/package_test.go | 5 +---- processor/sumologicprocessor/package_test.go | 5 +---- processor/transformprocessor/internal/logs/package_test.go | 5 +---- .../transformprocessor/internal/metrics/package_test.go | 5 +---- processor/transformprocessor/internal/traces/package_test.go | 5 +---- processor/transformprocessor/package_test.go | 5 +---- .../internal/metadata/package_test.go | 5 +---- receiver/activedirectorydsreceiver/package_test.go | 5 +---- receiver/aerospikereceiver/internal/metadata/package_test.go | 5 +---- receiver/apachereceiver/internal/metadata/package_test.go | 5 +---- .../apachesparkreceiver/internal/metadata/package_test.go | 5 +---- receiver/apachesparkreceiver/package_test.go | 5 +---- receiver/awscloudwatchmetricsreceiver/package_test.go | 5 +---- receiver/awscloudwatchreceiver/package_test.go | 5 +---- receiver/awsecscontainermetricsreceiver/package_test.go | 5 +---- receiver/awsfirehosereceiver/package_test.go | 5 +---- receiver/awsxrayreceiver/package_test.go | 5 +---- receiver/azureblobreceiver/package_test.go | 5 +---- .../azuremonitorreceiver/internal/metadata/package_test.go | 5 +---- receiver/azuremonitorreceiver/package_test.go | 5 +---- receiver/bigipreceiver/internal/metadata/package_test.go | 5 +---- receiver/bigipreceiver/package_test.go | 5 +---- receiver/carbonreceiver/package_test.go | 5 +---- receiver/chronyreceiver/internal/metadata/package_test.go | 5 +---- receiver/chronyreceiver/package_test.go | 5 +---- receiver/cloudflarereceiver/package_test.go | 5 +---- receiver/cloudfoundryreceiver/package_test.go | 5 +---- receiver/collectdreceiver/package_test.go | 5 +---- receiver/couchdbreceiver/internal/metadata/package_test.go | 5 +---- receiver/couchdbreceiver/package_test.go | 5 +---- receiver/datadogreceiver/package_test.go | 5 +---- .../dockerstatsreceiver/internal/metadata/package_test.go | 5 +---- .../elasticsearchreceiver/internal/metadata/package_test.go | 5 +---- receiver/elasticsearchreceiver/package_test.go | 5 +---- receiver/expvarreceiver/internal/metadata/package_test.go | 5 +---- receiver/expvarreceiver/package_test.go | 5 +---- receiver/filelogreceiver/package_test.go | 5 +---- receiver/filestatsreceiver/internal/metadata/package_test.go | 5 +---- receiver/filestatsreceiver/package_test.go | 5 +---- .../flinkmetricsreceiver/internal/metadata/package_test.go | 5 +---- receiver/flinkmetricsreceiver/package_test.go | 5 +---- .../gitproviderreceiver/internal/metadata/package_test.go | 5 +---- receiver/gitproviderreceiver/package_test.go | 5 +---- receiver/haproxyreceiver/internal/metadata/package_test.go | 5 +---- receiver/haproxyreceiver/package_test.go | 5 +---- .../scraper/cpuscraper/internal/metadata/package_test.go | 5 +---- .../internal/scraper/cpuscraper/package_test.go | 5 +---- .../scraper/diskscraper/internal/metadata/package_test.go | 5 +---- .../internal/scraper/diskscraper/package_test.go | 5 +---- .../filesystemscraper/internal/metadata/package_test.go | 5 +---- .../internal/scraper/filesystemscraper/package_test.go | 5 +---- .../scraper/loadscraper/internal/metadata/package_test.go | 5 +---- .../internal/scraper/loadscraper/package_test.go | 5 +---- .../scraper/memoryscraper/internal/metadata/package_test.go | 5 +---- .../internal/scraper/memoryscraper/package_test.go | 5 +---- .../scraper/networkscraper/internal/metadata/package_test.go | 5 +---- .../internal/scraper/networkscraper/package_test.go | 5 +---- .../scraper/pagingscraper/internal/metadata/package_test.go | 5 +---- .../internal/scraper/pagingscraper/package_test.go | 5 +---- .../processesscraper/internal/metadata/package_test.go | 5 +---- .../internal/scraper/processesscraper/package_test.go | 5 +---- .../scraper/processscraper/internal/metadata/package_test.go | 5 +---- .../internal/scraper/processscraper/package_test.go | 5 +---- receiver/hostmetricsreceiver/package_test.go | 5 +---- receiver/httpcheckreceiver/internal/metadata/package_test.go | 5 +---- receiver/httpcheckreceiver/package_test.go | 5 +---- receiver/iisreceiver/internal/metadata/package_test.go | 5 +---- receiver/iisreceiver/package_test.go | 5 +---- receiver/influxdbreceiver/package_test.go | 5 +---- receiver/journaldreceiver/package_test.go | 5 +---- .../internal/clusterresourcequota/package_test.go | 5 +---- .../k8sclusterreceiver/internal/collection/package_test.go | 5 +---- receiver/k8sclusterreceiver/internal/cronjob/package_test.go | 5 +---- .../k8sclusterreceiver/internal/demonset/package_test.go | 5 +---- .../k8sclusterreceiver/internal/deployment/package_test.go | 5 +---- receiver/k8sclusterreceiver/internal/hpa/package_test.go | 5 +---- receiver/k8sclusterreceiver/internal/jobs/package_test.go | 5 +---- .../k8sclusterreceiver/internal/metadata/package_test.go | 5 +---- .../k8sclusterreceiver/internal/namespace/package_test.go | 5 +---- receiver/k8sclusterreceiver/internal/node/package_test.go | 5 +---- receiver/k8sclusterreceiver/internal/pod/package_test.go | 5 +---- .../k8sclusterreceiver/internal/replicaset/package_test.go | 5 +---- .../internal/replicationcontroller/package_test.go | 5 +---- .../internal/resourcequota/package_test.go | 5 +---- .../k8sclusterreceiver/internal/statefulset/package_test.go | 5 +---- .../kafkametricsreceiver/internal/metadata/package_test.go | 5 +---- receiver/kafkametricsreceiver/package_test.go | 5 +---- .../kubeletstatsreceiver/internal/kubelet/package_test.go | 5 +---- .../kubeletstatsreceiver/internal/metadata/package_test.go | 5 +---- receiver/lokireceiver/package_test.go | 5 +---- receiver/memcachedreceiver/internal/metadata/package_test.go | 5 +---- receiver/memcachedreceiver/package_test.go | 5 +---- .../mongodbatlasreceiver/internal/metadata/package_test.go | 5 +---- receiver/mongodbreceiver/internal/metadata/package_test.go | 5 +---- receiver/mongodbreceiver/package_test.go | 5 +---- receiver/mysqlreceiver/internal/metadata/package_test.go | 5 +---- receiver/mysqlreceiver/package_test.go | 5 +---- receiver/nginxreceiver/internal/metadata/package_test.go | 5 +---- receiver/nsxtreceiver/internal/metadata/package_test.go | 5 +---- .../opencensusreceiver/internal/ocmetrics/package_test.go | 5 +---- receiver/opencensusreceiver/internal/octrace/package_test.go | 5 +---- receiver/oracledbreceiver/internal/metadata/package_test.go | 5 +---- receiver/oracledbreceiver/package_test.go | 5 +---- receiver/osqueryreceiver/package_test.go | 5 +---- receiver/otlpjsonfilereceiver/package_test.go | 5 +---- .../postgresqlreceiver/internal/metadata/package_test.go | 5 +---- receiver/postgresqlreceiver/package_test.go | 5 +---- receiver/rabbitmqreceiver/internal/metadata/package_test.go | 5 +---- receiver/rabbitmqreceiver/package_test.go | 5 +---- receiver/receivercreator/package_test.go | 5 +---- receiver/redisreceiver/internal/metadata/package_test.go | 5 +---- receiver/redisreceiver/package_test.go | 5 +---- receiver/riakreceiver/internal/metadata/package_test.go | 5 +---- receiver/riakreceiver/package_test.go | 5 +---- receiver/saphanareceiver/internal/metadata/package_test.go | 5 +---- receiver/skywalkingreceiver/package_test.go | 5 +---- receiver/snmpreceiver/package_test.go | 5 +---- receiver/snowflakereceiver/internal/metadata/package_test.go | 5 +---- .../internal/metadata/package_test.go | 5 +---- receiver/splunkenterprisereceiver/package_test.go | 5 +---- receiver/sqlserverreceiver/internal/metadata/package_test.go | 5 +---- receiver/sqlserverreceiver/package_test.go | 5 +---- receiver/sshcheckreceiver/internal/configssh/package_test.go | 5 +---- receiver/sshcheckreceiver/internal/metadata/package_test.go | 5 +---- receiver/statsdreceiver/package_test.go | 5 +---- receiver/syslogreceiver/package_test.go | 5 +---- receiver/tcplogreceiver/package_test.go | 5 +---- receiver/udplogreceiver/package_test.go | 5 +---- receiver/vcenterreceiver/internal/metadata/package_test.go | 5 +---- receiver/vcenterreceiver/package_test.go | 5 +---- receiver/wavefrontreceiver/package_test.go | 5 +---- receiver/webhookeventreceiver/package_test.go | 5 +---- receiver/windowseventlogreceiver/package_test.go | 5 +---- receiver/windowsperfcountersreceiver/package_test.go | 5 +---- receiver/zipkinreceiver/package_test.go | 5 +---- receiver/zookeeperreceiver/internal/metadata/package_test.go | 5 +---- 214 files changed, 214 insertions(+), 856 deletions(-) diff --git a/cmd/configschema/cfgmetadatagen/cfgmetadatagen/package_test.go b/cmd/configschema/cfgmetadatagen/cfgmetadatagen/package_test.go index bcf3cc7846e3..98e6dc536115 100644 --- a/cmd/configschema/cfgmetadatagen/cfgmetadatagen/package_test.go +++ b/cmd/configschema/cfgmetadatagen/cfgmetadatagen/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/cmd/mdatagen/internal/metadata/package_test.go b/cmd/mdatagen/internal/metadata/package_test.go index c83588d3062e..1aba5ec4bb0b 100644 --- a/cmd/mdatagen/internal/metadata/package_test.go +++ b/cmd/mdatagen/internal/metadata/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/connector/countconnector/package_test.go b/connector/countconnector/package_test.go index 64dcc342a2b0..6c55bf168a82 100644 --- a/connector/countconnector/package_test.go +++ b/connector/countconnector/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/connector/exceptionsconnector/package_test.go b/connector/exceptionsconnector/package_test.go index fadb3f0c383a..08df820c3e17 100644 --- a/connector/exceptionsconnector/package_test.go +++ b/connector/exceptionsconnector/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/connector/failoverconnector/package_test.go b/connector/failoverconnector/package_test.go index 2f1e3b2ee6a5..bd8e101d2a05 100644 --- a/connector/failoverconnector/package_test.go +++ b/connector/failoverconnector/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/connector/routingconnector/package_test.go b/connector/routingconnector/package_test.go index 40fa9d61ee5d..badf42ea5d43 100644 --- a/connector/routingconnector/package_test.go +++ b/connector/routingconnector/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/connector/servicegraphconnector/package_test.go b/connector/servicegraphconnector/package_test.go index c48384c69e28..79216a2f631a 100644 --- a/connector/servicegraphconnector/package_test.go +++ b/connector/servicegraphconnector/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/connector/spanmetricsconnector/package_test.go b/connector/spanmetricsconnector/package_test.go index 2cd37a0f2a9c..f00ec737b5ed 100644 --- a/connector/spanmetricsconnector/package_test.go +++ b/connector/spanmetricsconnector/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/exporter/alertmanagerexporter/package_test.go b/exporter/alertmanagerexporter/package_test.go index 2bd557e6f50e..7b9d83eff120 100644 --- a/exporter/alertmanagerexporter/package_test.go +++ b/exporter/alertmanagerexporter/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/exporter/awskinesisexporter/package_test.go b/exporter/awskinesisexporter/package_test.go index 2a9c0325fda5..fb24f8d2fb50 100644 --- a/exporter/awskinesisexporter/package_test.go +++ b/exporter/awskinesisexporter/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/exporter/carbonexporter/package_test.go b/exporter/carbonexporter/package_test.go index e79ed5cbd0a6..0dcd0a5f369d 100644 --- a/exporter/carbonexporter/package_test.go +++ b/exporter/carbonexporter/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/exporter/cassandraexporter/package_test.go b/exporter/cassandraexporter/package_test.go index 6a839cad85db..3ff28cf1d7cc 100644 --- a/exporter/cassandraexporter/package_test.go +++ b/exporter/cassandraexporter/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/exporter/clickhouseexporter/package_test.go b/exporter/clickhouseexporter/package_test.go index d5e4a67421b0..29f6b7cbb77e 100644 --- a/exporter/clickhouseexporter/package_test.go +++ b/exporter/clickhouseexporter/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/exporter/datadogexporter/internal/clientutil/package_test.go b/exporter/datadogexporter/internal/clientutil/package_test.go index 7ce64c1071db..5f1943db73b8 100644 --- a/exporter/datadogexporter/internal/clientutil/package_test.go +++ b/exporter/datadogexporter/internal/clientutil/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/exporter/datadogexporter/internal/logs/package_test.go b/exporter/datadogexporter/internal/logs/package_test.go index 876917cfd627..1158f120b289 100644 --- a/exporter/datadogexporter/internal/logs/package_test.go +++ b/exporter/datadogexporter/internal/logs/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/exporter/dynatraceexporter/config/package_test.go b/exporter/dynatraceexporter/config/package_test.go index 55d65b377104..cac5be666ad9 100644 --- a/exporter/dynatraceexporter/config/package_test.go +++ b/exporter/dynatraceexporter/config/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/exporter/elasticsearchexporter/package_test.go b/exporter/elasticsearchexporter/package_test.go index 3e9c29f16a45..da727a30bfa0 100644 --- a/exporter/elasticsearchexporter/package_test.go +++ b/exporter/elasticsearchexporter/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/exporter/honeycombmarkerexporter/package_test.go b/exporter/honeycombmarkerexporter/package_test.go index 8364228cf238..5682ee1c3253 100644 --- a/exporter/honeycombmarkerexporter/package_test.go +++ b/exporter/honeycombmarkerexporter/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/exporter/instanaexporter/package_test.go b/exporter/instanaexporter/package_test.go index aa829e4ffc05..613af54e9fa2 100644 --- a/exporter/instanaexporter/package_test.go +++ b/exporter/instanaexporter/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/exporter/logicmonitorexporter/internal/logs/package_test.go b/exporter/logicmonitorexporter/internal/logs/package_test.go index 876917cfd627..1158f120b289 100644 --- a/exporter/logicmonitorexporter/internal/logs/package_test.go +++ b/exporter/logicmonitorexporter/internal/logs/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/exporter/logicmonitorexporter/internal/traces/package_test.go b/exporter/logicmonitorexporter/internal/traces/package_test.go index 18082d4a36fb..d1398ba09b9b 100644 --- a/exporter/logicmonitorexporter/internal/traces/package_test.go +++ b/exporter/logicmonitorexporter/internal/traces/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/exporter/lokiexporter/package_test.go b/exporter/lokiexporter/package_test.go index bf81fa846c58..eba5a730e48e 100644 --- a/exporter/lokiexporter/package_test.go +++ b/exporter/lokiexporter/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/exporter/mezmoexporter/package_test.go b/exporter/mezmoexporter/package_test.go index 822487e62ac3..e768b14cb712 100644 --- a/exporter/mezmoexporter/package_test.go +++ b/exporter/mezmoexporter/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/exporter/opensearchexporter/package_test.go b/exporter/opensearchexporter/package_test.go index 27e01ce3c5bc..9b90d8760fdf 100644 --- a/exporter/opensearchexporter/package_test.go +++ b/exporter/opensearchexporter/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/exporter/sentryexporter/package_test.go b/exporter/sentryexporter/package_test.go index 07410f926068..7ee7fa0393fa 100644 --- a/exporter/sentryexporter/package_test.go +++ b/exporter/sentryexporter/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/exporter/signalfxexporter/internal/hostmetadata/package_test.go b/exporter/signalfxexporter/internal/hostmetadata/package_test.go index b070ed34dcda..3bc935fd715a 100644 --- a/exporter/signalfxexporter/internal/hostmetadata/package_test.go +++ b/exporter/signalfxexporter/internal/hostmetadata/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/exporter/syslogexporter/package_test.go b/exporter/syslogexporter/package_test.go index ade8237aae10..70ac459041ec 100644 --- a/exporter/syslogexporter/package_test.go +++ b/exporter/syslogexporter/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/exporter/zipkinexporter/package_test.go b/exporter/zipkinexporter/package_test.go index b4efceeb5601..5c3fa898c42c 100644 --- a/exporter/zipkinexporter/package_test.go +++ b/exporter/zipkinexporter/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/extension/basicauthextension/package_test.go b/extension/basicauthextension/package_test.go index 97937372d2be..a36b3b9fe820 100644 --- a/extension/basicauthextension/package_test.go +++ b/extension/basicauthextension/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/extension/encoding/jaegerencodingextension/package_test.go b/extension/encoding/jaegerencodingextension/package_test.go index 6143799a9050..46d492d1ec17 100644 --- a/extension/encoding/jaegerencodingextension/package_test.go +++ b/extension/encoding/jaegerencodingextension/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/extension/encoding/jsonlogencodingextension/package_test.go b/extension/encoding/jsonlogencodingextension/package_test.go index 78b408fb3bab..77f361442507 100644 --- a/extension/encoding/jsonlogencodingextension/package_test.go +++ b/extension/encoding/jsonlogencodingextension/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/extension/encoding/otlpencodingextension/package_test.go b/extension/encoding/otlpencodingextension/package_test.go index d2af8061f94e..00ac9884c61a 100644 --- a/extension/encoding/otlpencodingextension/package_test.go +++ b/extension/encoding/otlpencodingextension/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/extension/encoding/textencodingextension/package_test.go b/extension/encoding/textencodingextension/package_test.go index 41d81f3106b2..63a324f4d837 100644 --- a/extension/encoding/textencodingextension/package_test.go +++ b/extension/encoding/textencodingextension/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/extension/encoding/zipkinencodingextension/package_test.go b/extension/encoding/zipkinencodingextension/package_test.go index 9a28c1c5325f..af5ba928dcf1 100644 --- a/extension/encoding/zipkinencodingextension/package_test.go +++ b/extension/encoding/zipkinencodingextension/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/extension/headerssetterextension/package_test.go b/extension/headerssetterextension/package_test.go index 7c6f912b33e3..5df914832567 100644 --- a/extension/headerssetterextension/package_test.go +++ b/extension/headerssetterextension/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/extension/httpforwarder/package_test.go b/extension/httpforwarder/package_test.go index 87b5717aed4c..2013e405422b 100644 --- a/extension/httpforwarder/package_test.go +++ b/extension/httpforwarder/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/extension/oauth2clientauthextension/package_test.go b/extension/oauth2clientauthextension/package_test.go index 011a16950a8e..640d0f11df3c 100644 --- a/extension/oauth2clientauthextension/package_test.go +++ b/extension/oauth2clientauthextension/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/extension/observer/ecsobserver/package_test.go b/extension/observer/ecsobserver/package_test.go index b49740499e74..7613546053ea 100644 --- a/extension/observer/ecsobserver/package_test.go +++ b/extension/observer/ecsobserver/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/extension/observer/ecstaskobserver/package_test.go b/extension/observer/ecstaskobserver/package_test.go index 44e3d64eec51..d4e58f741e3c 100644 --- a/extension/observer/ecstaskobserver/package_test.go +++ b/extension/observer/ecstaskobserver/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/extension/observer/hostobserver/package_test.go b/extension/observer/hostobserver/package_test.go index 9b1afc770768..05d2b3ee3144 100644 --- a/extension/observer/hostobserver/package_test.go +++ b/extension/observer/hostobserver/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/extension/pprofextension/package_test.go b/extension/pprofextension/package_test.go index d3b2b32f4ef0..92b5b0fec95d 100644 --- a/extension/pprofextension/package_test.go +++ b/extension/pprofextension/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/extension/remotetapextension/package_test.go b/extension/remotetapextension/package_test.go index c74acf50b739..2d48968ad050 100644 --- a/extension/remotetapextension/package_test.go +++ b/extension/remotetapextension/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/extension/storage/dbstorage/package_test.go b/extension/storage/dbstorage/package_test.go index 6e4274e65a4d..81c633e3a345 100644 --- a/extension/storage/dbstorage/package_test.go +++ b/extension/storage/dbstorage/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/extension/storage/filestorage/package_test.go b/extension/storage/filestorage/package_test.go index 7989cd67d4b7..725008ffc1bc 100644 --- a/extension/storage/filestorage/package_test.go +++ b/extension/storage/filestorage/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/extension/storage/storagetest/package_test.go b/extension/storage/storagetest/package_test.go index f8577a17cd70..f8f1b14520e1 100644 --- a/extension/storage/storagetest/package_test.go +++ b/extension/storage/storagetest/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/internal/aws/ecsutil/package_test.go b/internal/aws/ecsutil/package_test.go index dd318c9e41c1..2ea0398f7487 100644 --- a/internal/aws/ecsutil/package_test.go +++ b/internal/aws/ecsutil/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/internal/filter/filterottl/package_test.go b/internal/filter/filterottl/package_test.go index e7b2d9b06a1d..418dc95817c9 100644 --- a/internal/filter/filterottl/package_test.go +++ b/internal/filter/filterottl/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/internal/sharedcomponent/package_test.go b/internal/sharedcomponent/package_test.go index 2a85636d3ea1..424f48bf6d6e 100644 --- a/internal/sharedcomponent/package_test.go +++ b/internal/sharedcomponent/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/internal/splunk/package_test.go b/internal/splunk/package_test.go index 1ddaa1d91d50..34d6ece65021 100644 --- a/internal/splunk/package_test.go +++ b/internal/splunk/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/pkg/ottl/e2e/package_test.go b/pkg/ottl/e2e/package_test.go index 92220a8e4eb5..73da050f0da9 100644 --- a/pkg/ottl/e2e/package_test.go +++ b/pkg/ottl/e2e/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/pkg/ottl/ottlfuncs/package_test.go b/pkg/ottl/ottlfuncs/package_test.go index 11c4ab0af2c9..7082a6c2353c 100644 --- a/pkg/ottl/ottlfuncs/package_test.go +++ b/pkg/ottl/ottlfuncs/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/pkg/ottl/package_test.go b/pkg/ottl/package_test.go index 1ee8866240c7..cecdd3359175 100644 --- a/pkg/ottl/package_test.go +++ b/pkg/ottl/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/processor/attributesprocessor/package_test.go b/processor/attributesprocessor/package_test.go index 53f0738500b7..fbaef1cb7fbc 100644 --- a/processor/attributesprocessor/package_test.go +++ b/processor/attributesprocessor/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/processor/cumulativetodeltaprocessor/package_test.go b/processor/cumulativetodeltaprocessor/package_test.go index 00a5411fe5cc..dd3df47d6b82 100644 --- a/processor/cumulativetodeltaprocessor/package_test.go +++ b/processor/cumulativetodeltaprocessor/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/processor/deltatorateprocessor/package_test.go b/processor/deltatorateprocessor/package_test.go index e0b681a87ff8..a5033fd28efd 100644 --- a/processor/deltatorateprocessor/package_test.go +++ b/processor/deltatorateprocessor/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/processor/filterprocessor/package_test.go b/processor/filterprocessor/package_test.go index 8ed805994973..3fa378477bfd 100644 --- a/processor/filterprocessor/package_test.go +++ b/processor/filterprocessor/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/processor/groupbyattrsprocessor/package_test.go b/processor/groupbyattrsprocessor/package_test.go index 4852d53012c7..ed5419297ee2 100644 --- a/processor/groupbyattrsprocessor/package_test.go +++ b/processor/groupbyattrsprocessor/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/processor/logstransformprocessor/package_test.go b/processor/logstransformprocessor/package_test.go index 19303e8d6a6e..e27f2a3dce71 100644 --- a/processor/logstransformprocessor/package_test.go +++ b/processor/logstransformprocessor/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/processor/metricsgenerationprocessor/package_test.go b/processor/metricsgenerationprocessor/package_test.go index e83f4ee1791e..8e85d8eb1217 100644 --- a/processor/metricsgenerationprocessor/package_test.go +++ b/processor/metricsgenerationprocessor/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/processor/metricstransformprocessor/package_test.go b/processor/metricstransformprocessor/package_test.go index f1880a143ee7..e6044b57e6ba 100644 --- a/processor/metricstransformprocessor/package_test.go +++ b/processor/metricstransformprocessor/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/processor/redactionprocessor/package_test.go b/processor/redactionprocessor/package_test.go index d920ca21874e..d15d22f8a304 100644 --- a/processor/redactionprocessor/package_test.go +++ b/processor/redactionprocessor/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/processor/resourcedetectionprocessor/internal/aws/ec2/package_test.go b/processor/resourcedetectionprocessor/internal/aws/ec2/package_test.go index d9aad1a8d944..84becb4326f7 100644 --- a/processor/resourcedetectionprocessor/internal/aws/ec2/package_test.go +++ b/processor/resourcedetectionprocessor/internal/aws/ec2/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/processor/resourcedetectionprocessor/internal/aws/ecs/package_test.go b/processor/resourcedetectionprocessor/internal/aws/ecs/package_test.go index b8725751ea40..d53a4a4d11c2 100644 --- a/processor/resourcedetectionprocessor/internal/aws/ecs/package_test.go +++ b/processor/resourcedetectionprocessor/internal/aws/ecs/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/processor/resourcedetectionprocessor/internal/aws/eks/package_test.go b/processor/resourcedetectionprocessor/internal/aws/eks/package_test.go index f099568a65e6..7d08231e51a0 100644 --- a/processor/resourcedetectionprocessor/internal/aws/eks/package_test.go +++ b/processor/resourcedetectionprocessor/internal/aws/eks/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/processor/resourcedetectionprocessor/internal/aws/elasticbeanstalk/package_test.go b/processor/resourcedetectionprocessor/internal/aws/elasticbeanstalk/package_test.go index b7921edc93cf..969f068ae126 100644 --- a/processor/resourcedetectionprocessor/internal/aws/elasticbeanstalk/package_test.go +++ b/processor/resourcedetectionprocessor/internal/aws/elasticbeanstalk/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/processor/resourcedetectionprocessor/internal/aws/lambda/package_test.go b/processor/resourcedetectionprocessor/internal/aws/lambda/package_test.go index c8274eee780c..3eaceb23f8f4 100644 --- a/processor/resourcedetectionprocessor/internal/aws/lambda/package_test.go +++ b/processor/resourcedetectionprocessor/internal/aws/lambda/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/processor/resourcedetectionprocessor/internal/azure/aks/package_test.go b/processor/resourcedetectionprocessor/internal/azure/aks/package_test.go index cc81930dc4f7..72c16c5c61ec 100644 --- a/processor/resourcedetectionprocessor/internal/azure/aks/package_test.go +++ b/processor/resourcedetectionprocessor/internal/azure/aks/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/processor/resourcedetectionprocessor/internal/azure/package_test.go b/processor/resourcedetectionprocessor/internal/azure/package_test.go index 7d2de5ed42ec..c7b9e1e8dda9 100644 --- a/processor/resourcedetectionprocessor/internal/azure/package_test.go +++ b/processor/resourcedetectionprocessor/internal/azure/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/processor/resourcedetectionprocessor/internal/docker/package_test.go b/processor/resourcedetectionprocessor/internal/docker/package_test.go index 5c2459787012..0ebd6a327e31 100644 --- a/processor/resourcedetectionprocessor/internal/docker/package_test.go +++ b/processor/resourcedetectionprocessor/internal/docker/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/processor/resourcedetectionprocessor/internal/env/package_test.go b/processor/resourcedetectionprocessor/internal/env/package_test.go index 9f7b5a41340b..3e2759e4025e 100644 --- a/processor/resourcedetectionprocessor/internal/env/package_test.go +++ b/processor/resourcedetectionprocessor/internal/env/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/processor/resourcedetectionprocessor/internal/heroku/package_test.go b/processor/resourcedetectionprocessor/internal/heroku/package_test.go index af67b0ef5137..ae813988fbfe 100644 --- a/processor/resourcedetectionprocessor/internal/heroku/package_test.go +++ b/processor/resourcedetectionprocessor/internal/heroku/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/processor/resourcedetectionprocessor/internal/k8snode/package_test.go b/processor/resourcedetectionprocessor/internal/k8snode/package_test.go index 3a4fa37073ce..961bc2afda52 100644 --- a/processor/resourcedetectionprocessor/internal/k8snode/package_test.go +++ b/processor/resourcedetectionprocessor/internal/k8snode/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/processor/resourcedetectionprocessor/internal/package_test.go b/processor/resourcedetectionprocessor/internal/package_test.go index 7ac04c6b0e5d..4486cdb28aa6 100644 --- a/processor/resourcedetectionprocessor/internal/package_test.go +++ b/processor/resourcedetectionprocessor/internal/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/processor/resourcedetectionprocessor/internal/system/package_test.go b/processor/resourcedetectionprocessor/internal/system/package_test.go index 360bca30d01d..641255b7bf5e 100644 --- a/processor/resourcedetectionprocessor/internal/system/package_test.go +++ b/processor/resourcedetectionprocessor/internal/system/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/processor/resourcedetectionprocessor/package_test.go b/processor/resourcedetectionprocessor/package_test.go index e4e33fd4c397..68a116728f38 100644 --- a/processor/resourcedetectionprocessor/package_test.go +++ b/processor/resourcedetectionprocessor/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/processor/resourceprocessor/package_test.go b/processor/resourceprocessor/package_test.go index 2e864eb9eb95..e46263dcac95 100644 --- a/processor/resourceprocessor/package_test.go +++ b/processor/resourceprocessor/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/processor/routingprocessor/package_test.go b/processor/routingprocessor/package_test.go index 49f4e60439cd..7f0735be0aeb 100644 --- a/processor/routingprocessor/package_test.go +++ b/processor/routingprocessor/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/processor/schemaprocessor/package_test.go b/processor/schemaprocessor/package_test.go index e8b8663ada01..49dd0a89be58 100644 --- a/processor/schemaprocessor/package_test.go +++ b/processor/schemaprocessor/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/processor/spanprocessor/package_test.go b/processor/spanprocessor/package_test.go index 468e86caa8b8..d3748205b59d 100644 --- a/processor/spanprocessor/package_test.go +++ b/processor/spanprocessor/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/processor/sumologicprocessor/package_test.go b/processor/sumologicprocessor/package_test.go index 0463f90d32c9..9668b53939e8 100644 --- a/processor/sumologicprocessor/package_test.go +++ b/processor/sumologicprocessor/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/processor/transformprocessor/internal/logs/package_test.go b/processor/transformprocessor/internal/logs/package_test.go index 876917cfd627..1158f120b289 100644 --- a/processor/transformprocessor/internal/logs/package_test.go +++ b/processor/transformprocessor/internal/logs/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/processor/transformprocessor/internal/metrics/package_test.go b/processor/transformprocessor/internal/metrics/package_test.go index d87cbe1d8cf6..b8f16a8085ef 100644 --- a/processor/transformprocessor/internal/metrics/package_test.go +++ b/processor/transformprocessor/internal/metrics/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/processor/transformprocessor/internal/traces/package_test.go b/processor/transformprocessor/internal/traces/package_test.go index 18082d4a36fb..d1398ba09b9b 100644 --- a/processor/transformprocessor/internal/traces/package_test.go +++ b/processor/transformprocessor/internal/traces/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/processor/transformprocessor/package_test.go b/processor/transformprocessor/package_test.go index 38a049864046..89f3fe61a35e 100644 --- a/processor/transformprocessor/package_test.go +++ b/processor/transformprocessor/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/activedirectorydsreceiver/internal/metadata/package_test.go b/receiver/activedirectorydsreceiver/internal/metadata/package_test.go index c83588d3062e..1aba5ec4bb0b 100644 --- a/receiver/activedirectorydsreceiver/internal/metadata/package_test.go +++ b/receiver/activedirectorydsreceiver/internal/metadata/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/activedirectorydsreceiver/package_test.go b/receiver/activedirectorydsreceiver/package_test.go index 2e229b3f43c9..5f228f5b583c 100644 --- a/receiver/activedirectorydsreceiver/package_test.go +++ b/receiver/activedirectorydsreceiver/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/aerospikereceiver/internal/metadata/package_test.go b/receiver/aerospikereceiver/internal/metadata/package_test.go index c83588d3062e..1aba5ec4bb0b 100644 --- a/receiver/aerospikereceiver/internal/metadata/package_test.go +++ b/receiver/aerospikereceiver/internal/metadata/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/apachereceiver/internal/metadata/package_test.go b/receiver/apachereceiver/internal/metadata/package_test.go index c83588d3062e..1aba5ec4bb0b 100644 --- a/receiver/apachereceiver/internal/metadata/package_test.go +++ b/receiver/apachereceiver/internal/metadata/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/apachesparkreceiver/internal/metadata/package_test.go b/receiver/apachesparkreceiver/internal/metadata/package_test.go index c83588d3062e..1aba5ec4bb0b 100644 --- a/receiver/apachesparkreceiver/internal/metadata/package_test.go +++ b/receiver/apachesparkreceiver/internal/metadata/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/apachesparkreceiver/package_test.go b/receiver/apachesparkreceiver/package_test.go index fd4a4547ba59..b1a51fcf74d9 100644 --- a/receiver/apachesparkreceiver/package_test.go +++ b/receiver/apachesparkreceiver/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/awscloudwatchmetricsreceiver/package_test.go b/receiver/awscloudwatchmetricsreceiver/package_test.go index 74b55ee520dc..85287865a863 100644 --- a/receiver/awscloudwatchmetricsreceiver/package_test.go +++ b/receiver/awscloudwatchmetricsreceiver/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/awscloudwatchreceiver/package_test.go b/receiver/awscloudwatchreceiver/package_test.go index 31f60295c78c..c424bb3e6c46 100644 --- a/receiver/awscloudwatchreceiver/package_test.go +++ b/receiver/awscloudwatchreceiver/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/awsecscontainermetricsreceiver/package_test.go b/receiver/awsecscontainermetricsreceiver/package_test.go index 2b42ea506add..a94a78f3c47e 100644 --- a/receiver/awsecscontainermetricsreceiver/package_test.go +++ b/receiver/awsecscontainermetricsreceiver/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/awsfirehosereceiver/package_test.go b/receiver/awsfirehosereceiver/package_test.go index 2ac0e0101b8e..153874b53bcc 100644 --- a/receiver/awsfirehosereceiver/package_test.go +++ b/receiver/awsfirehosereceiver/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/awsxrayreceiver/package_test.go b/receiver/awsxrayreceiver/package_test.go index 30e08ea2ef5c..af0529634e36 100644 --- a/receiver/awsxrayreceiver/package_test.go +++ b/receiver/awsxrayreceiver/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/azureblobreceiver/package_test.go b/receiver/azureblobreceiver/package_test.go index 11b49e77c258..ee479277c5c2 100644 --- a/receiver/azureblobreceiver/package_test.go +++ b/receiver/azureblobreceiver/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/azuremonitorreceiver/internal/metadata/package_test.go b/receiver/azuremonitorreceiver/internal/metadata/package_test.go index c83588d3062e..1aba5ec4bb0b 100644 --- a/receiver/azuremonitorreceiver/internal/metadata/package_test.go +++ b/receiver/azuremonitorreceiver/internal/metadata/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/azuremonitorreceiver/package_test.go b/receiver/azuremonitorreceiver/package_test.go index 4d891310a86b..8500cce3db60 100644 --- a/receiver/azuremonitorreceiver/package_test.go +++ b/receiver/azuremonitorreceiver/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/bigipreceiver/internal/metadata/package_test.go b/receiver/bigipreceiver/internal/metadata/package_test.go index c83588d3062e..1aba5ec4bb0b 100644 --- a/receiver/bigipreceiver/internal/metadata/package_test.go +++ b/receiver/bigipreceiver/internal/metadata/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/bigipreceiver/package_test.go b/receiver/bigipreceiver/package_test.go index a8c5416da8d3..9a82c047479c 100644 --- a/receiver/bigipreceiver/package_test.go +++ b/receiver/bigipreceiver/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/carbonreceiver/package_test.go b/receiver/carbonreceiver/package_test.go index dd6b27a08054..4c838dae0a8f 100644 --- a/receiver/carbonreceiver/package_test.go +++ b/receiver/carbonreceiver/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/chronyreceiver/internal/metadata/package_test.go b/receiver/chronyreceiver/internal/metadata/package_test.go index c83588d3062e..1aba5ec4bb0b 100644 --- a/receiver/chronyreceiver/internal/metadata/package_test.go +++ b/receiver/chronyreceiver/internal/metadata/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/chronyreceiver/package_test.go b/receiver/chronyreceiver/package_test.go index 3db6fade84d1..8e087cba875d 100644 --- a/receiver/chronyreceiver/package_test.go +++ b/receiver/chronyreceiver/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/cloudflarereceiver/package_test.go b/receiver/cloudflarereceiver/package_test.go index f3037676e844..9440f66586e5 100644 --- a/receiver/cloudflarereceiver/package_test.go +++ b/receiver/cloudflarereceiver/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/cloudfoundryreceiver/package_test.go b/receiver/cloudfoundryreceiver/package_test.go index 6eaa7b5b0683..57160e99eca9 100644 --- a/receiver/cloudfoundryreceiver/package_test.go +++ b/receiver/cloudfoundryreceiver/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/collectdreceiver/package_test.go b/receiver/collectdreceiver/package_test.go index 0a462d4d2054..eb835d65a3b0 100644 --- a/receiver/collectdreceiver/package_test.go +++ b/receiver/collectdreceiver/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/couchdbreceiver/internal/metadata/package_test.go b/receiver/couchdbreceiver/internal/metadata/package_test.go index c83588d3062e..1aba5ec4bb0b 100644 --- a/receiver/couchdbreceiver/internal/metadata/package_test.go +++ b/receiver/couchdbreceiver/internal/metadata/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/couchdbreceiver/package_test.go b/receiver/couchdbreceiver/package_test.go index 1c9ef69b9ce4..e34fcb6cc1ea 100644 --- a/receiver/couchdbreceiver/package_test.go +++ b/receiver/couchdbreceiver/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/datadogreceiver/package_test.go b/receiver/datadogreceiver/package_test.go index 1249ed09859f..723f448a54aa 100644 --- a/receiver/datadogreceiver/package_test.go +++ b/receiver/datadogreceiver/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/dockerstatsreceiver/internal/metadata/package_test.go b/receiver/dockerstatsreceiver/internal/metadata/package_test.go index c83588d3062e..1aba5ec4bb0b 100644 --- a/receiver/dockerstatsreceiver/internal/metadata/package_test.go +++ b/receiver/dockerstatsreceiver/internal/metadata/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/elasticsearchreceiver/internal/metadata/package_test.go b/receiver/elasticsearchreceiver/internal/metadata/package_test.go index c83588d3062e..1aba5ec4bb0b 100644 --- a/receiver/elasticsearchreceiver/internal/metadata/package_test.go +++ b/receiver/elasticsearchreceiver/internal/metadata/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/elasticsearchreceiver/package_test.go b/receiver/elasticsearchreceiver/package_test.go index 460f2aa45907..2d1ace308cc0 100644 --- a/receiver/elasticsearchreceiver/package_test.go +++ b/receiver/elasticsearchreceiver/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/expvarreceiver/internal/metadata/package_test.go b/receiver/expvarreceiver/internal/metadata/package_test.go index c83588d3062e..1aba5ec4bb0b 100644 --- a/receiver/expvarreceiver/internal/metadata/package_test.go +++ b/receiver/expvarreceiver/internal/metadata/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/expvarreceiver/package_test.go b/receiver/expvarreceiver/package_test.go index 0f61fa14f3fb..1ae8c60f3799 100644 --- a/receiver/expvarreceiver/package_test.go +++ b/receiver/expvarreceiver/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/filelogreceiver/package_test.go b/receiver/filelogreceiver/package_test.go index 85ae0a448388..54b77fb5365f 100644 --- a/receiver/filelogreceiver/package_test.go +++ b/receiver/filelogreceiver/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/filestatsreceiver/internal/metadata/package_test.go b/receiver/filestatsreceiver/internal/metadata/package_test.go index c83588d3062e..1aba5ec4bb0b 100644 --- a/receiver/filestatsreceiver/internal/metadata/package_test.go +++ b/receiver/filestatsreceiver/internal/metadata/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/filestatsreceiver/package_test.go b/receiver/filestatsreceiver/package_test.go index d8e237357b6e..aab996a76d8d 100644 --- a/receiver/filestatsreceiver/package_test.go +++ b/receiver/filestatsreceiver/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/flinkmetricsreceiver/internal/metadata/package_test.go b/receiver/flinkmetricsreceiver/internal/metadata/package_test.go index c83588d3062e..1aba5ec4bb0b 100644 --- a/receiver/flinkmetricsreceiver/internal/metadata/package_test.go +++ b/receiver/flinkmetricsreceiver/internal/metadata/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/flinkmetricsreceiver/package_test.go b/receiver/flinkmetricsreceiver/package_test.go index 4f7441602acc..88b4c4f6ef55 100644 --- a/receiver/flinkmetricsreceiver/package_test.go +++ b/receiver/flinkmetricsreceiver/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/gitproviderreceiver/internal/metadata/package_test.go b/receiver/gitproviderreceiver/internal/metadata/package_test.go index c83588d3062e..1aba5ec4bb0b 100644 --- a/receiver/gitproviderreceiver/internal/metadata/package_test.go +++ b/receiver/gitproviderreceiver/internal/metadata/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/gitproviderreceiver/package_test.go b/receiver/gitproviderreceiver/package_test.go index 1e32234cf58c..e90dea71a25b 100644 --- a/receiver/gitproviderreceiver/package_test.go +++ b/receiver/gitproviderreceiver/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/haproxyreceiver/internal/metadata/package_test.go b/receiver/haproxyreceiver/internal/metadata/package_test.go index c83588d3062e..1aba5ec4bb0b 100644 --- a/receiver/haproxyreceiver/internal/metadata/package_test.go +++ b/receiver/haproxyreceiver/internal/metadata/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/haproxyreceiver/package_test.go b/receiver/haproxyreceiver/package_test.go index 838993e9ca9b..0c2c11236b81 100644 --- a/receiver/haproxyreceiver/package_test.go +++ b/receiver/haproxyreceiver/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/hostmetricsreceiver/internal/scraper/cpuscraper/internal/metadata/package_test.go b/receiver/hostmetricsreceiver/internal/scraper/cpuscraper/internal/metadata/package_test.go index c83588d3062e..1aba5ec4bb0b 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/cpuscraper/internal/metadata/package_test.go +++ b/receiver/hostmetricsreceiver/internal/scraper/cpuscraper/internal/metadata/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/hostmetricsreceiver/internal/scraper/cpuscraper/package_test.go b/receiver/hostmetricsreceiver/internal/scraper/cpuscraper/package_test.go index 75437cc8c442..f8ec4100442a 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/cpuscraper/package_test.go +++ b/receiver/hostmetricsreceiver/internal/scraper/cpuscraper/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/hostmetricsreceiver/internal/scraper/diskscraper/internal/metadata/package_test.go b/receiver/hostmetricsreceiver/internal/scraper/diskscraper/internal/metadata/package_test.go index c83588d3062e..1aba5ec4bb0b 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/diskscraper/internal/metadata/package_test.go +++ b/receiver/hostmetricsreceiver/internal/scraper/diskscraper/internal/metadata/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/hostmetricsreceiver/internal/scraper/diskscraper/package_test.go b/receiver/hostmetricsreceiver/internal/scraper/diskscraper/package_test.go index 321219b98d94..87820d4586fa 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/diskscraper/package_test.go +++ b/receiver/hostmetricsreceiver/internal/scraper/diskscraper/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/hostmetricsreceiver/internal/scraper/filesystemscraper/internal/metadata/package_test.go b/receiver/hostmetricsreceiver/internal/scraper/filesystemscraper/internal/metadata/package_test.go index c83588d3062e..1aba5ec4bb0b 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/filesystemscraper/internal/metadata/package_test.go +++ b/receiver/hostmetricsreceiver/internal/scraper/filesystemscraper/internal/metadata/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/hostmetricsreceiver/internal/scraper/filesystemscraper/package_test.go b/receiver/hostmetricsreceiver/internal/scraper/filesystemscraper/package_test.go index a6a31cac7a11..a6dc338a5136 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/filesystemscraper/package_test.go +++ b/receiver/hostmetricsreceiver/internal/scraper/filesystemscraper/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/hostmetricsreceiver/internal/scraper/loadscraper/internal/metadata/package_test.go b/receiver/hostmetricsreceiver/internal/scraper/loadscraper/internal/metadata/package_test.go index c83588d3062e..1aba5ec4bb0b 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/loadscraper/internal/metadata/package_test.go +++ b/receiver/hostmetricsreceiver/internal/scraper/loadscraper/internal/metadata/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/hostmetricsreceiver/internal/scraper/loadscraper/package_test.go b/receiver/hostmetricsreceiver/internal/scraper/loadscraper/package_test.go index d2515f9a6da2..080209ffda22 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/loadscraper/package_test.go +++ b/receiver/hostmetricsreceiver/internal/scraper/loadscraper/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/hostmetricsreceiver/internal/scraper/memoryscraper/internal/metadata/package_test.go b/receiver/hostmetricsreceiver/internal/scraper/memoryscraper/internal/metadata/package_test.go index c83588d3062e..1aba5ec4bb0b 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/memoryscraper/internal/metadata/package_test.go +++ b/receiver/hostmetricsreceiver/internal/scraper/memoryscraper/internal/metadata/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/hostmetricsreceiver/internal/scraper/memoryscraper/package_test.go b/receiver/hostmetricsreceiver/internal/scraper/memoryscraper/package_test.go index 0143204cfcaa..e072fcd6aed6 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/memoryscraper/package_test.go +++ b/receiver/hostmetricsreceiver/internal/scraper/memoryscraper/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/hostmetricsreceiver/internal/scraper/networkscraper/internal/metadata/package_test.go b/receiver/hostmetricsreceiver/internal/scraper/networkscraper/internal/metadata/package_test.go index c83588d3062e..1aba5ec4bb0b 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/networkscraper/internal/metadata/package_test.go +++ b/receiver/hostmetricsreceiver/internal/scraper/networkscraper/internal/metadata/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/hostmetricsreceiver/internal/scraper/networkscraper/package_test.go b/receiver/hostmetricsreceiver/internal/scraper/networkscraper/package_test.go index d66d67149d45..e6b28219d5ae 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/networkscraper/package_test.go +++ b/receiver/hostmetricsreceiver/internal/scraper/networkscraper/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/internal/metadata/package_test.go b/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/internal/metadata/package_test.go index c83588d3062e..1aba5ec4bb0b 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/internal/metadata/package_test.go +++ b/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/internal/metadata/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/package_test.go b/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/package_test.go index e95735b196ec..d7265fcd402c 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/package_test.go +++ b/receiver/hostmetricsreceiver/internal/scraper/pagingscraper/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/hostmetricsreceiver/internal/scraper/processesscraper/internal/metadata/package_test.go b/receiver/hostmetricsreceiver/internal/scraper/processesscraper/internal/metadata/package_test.go index c83588d3062e..1aba5ec4bb0b 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/processesscraper/internal/metadata/package_test.go +++ b/receiver/hostmetricsreceiver/internal/scraper/processesscraper/internal/metadata/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/hostmetricsreceiver/internal/scraper/processesscraper/package_test.go b/receiver/hostmetricsreceiver/internal/scraper/processesscraper/package_test.go index e0a07ea30b2b..f8548f1a5d7d 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/processesscraper/package_test.go +++ b/receiver/hostmetricsreceiver/internal/scraper/processesscraper/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/hostmetricsreceiver/internal/scraper/processscraper/internal/metadata/package_test.go b/receiver/hostmetricsreceiver/internal/scraper/processscraper/internal/metadata/package_test.go index c83588d3062e..1aba5ec4bb0b 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/processscraper/internal/metadata/package_test.go +++ b/receiver/hostmetricsreceiver/internal/scraper/processscraper/internal/metadata/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/hostmetricsreceiver/internal/scraper/processscraper/package_test.go b/receiver/hostmetricsreceiver/internal/scraper/processscraper/package_test.go index 18644e6935d7..668a212dce14 100644 --- a/receiver/hostmetricsreceiver/internal/scraper/processscraper/package_test.go +++ b/receiver/hostmetricsreceiver/internal/scraper/processscraper/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/hostmetricsreceiver/package_test.go b/receiver/hostmetricsreceiver/package_test.go index 261d9dadc66a..d0d4ed0605f0 100644 --- a/receiver/hostmetricsreceiver/package_test.go +++ b/receiver/hostmetricsreceiver/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/httpcheckreceiver/internal/metadata/package_test.go b/receiver/httpcheckreceiver/internal/metadata/package_test.go index c83588d3062e..1aba5ec4bb0b 100644 --- a/receiver/httpcheckreceiver/internal/metadata/package_test.go +++ b/receiver/httpcheckreceiver/internal/metadata/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/httpcheckreceiver/package_test.go b/receiver/httpcheckreceiver/package_test.go index 1ff5a8d4e872..b16c30142f2c 100644 --- a/receiver/httpcheckreceiver/package_test.go +++ b/receiver/httpcheckreceiver/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/iisreceiver/internal/metadata/package_test.go b/receiver/iisreceiver/internal/metadata/package_test.go index c83588d3062e..1aba5ec4bb0b 100644 --- a/receiver/iisreceiver/internal/metadata/package_test.go +++ b/receiver/iisreceiver/internal/metadata/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/iisreceiver/package_test.go b/receiver/iisreceiver/package_test.go index 77a2fe0e3a9b..7ba270504668 100644 --- a/receiver/iisreceiver/package_test.go +++ b/receiver/iisreceiver/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/influxdbreceiver/package_test.go b/receiver/influxdbreceiver/package_test.go index f6425fdb8540..80c5660aa3d5 100644 --- a/receiver/influxdbreceiver/package_test.go +++ b/receiver/influxdbreceiver/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/journaldreceiver/package_test.go b/receiver/journaldreceiver/package_test.go index dc604ce13f96..333b8a714370 100644 --- a/receiver/journaldreceiver/package_test.go +++ b/receiver/journaldreceiver/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/k8sclusterreceiver/internal/clusterresourcequota/package_test.go b/receiver/k8sclusterreceiver/internal/clusterresourcequota/package_test.go index a2a375983966..6a481aff9f15 100644 --- a/receiver/k8sclusterreceiver/internal/clusterresourcequota/package_test.go +++ b/receiver/k8sclusterreceiver/internal/clusterresourcequota/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/k8sclusterreceiver/internal/collection/package_test.go b/receiver/k8sclusterreceiver/internal/collection/package_test.go index 1b6e3b693206..3cd1cc97d518 100644 --- a/receiver/k8sclusterreceiver/internal/collection/package_test.go +++ b/receiver/k8sclusterreceiver/internal/collection/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/k8sclusterreceiver/internal/cronjob/package_test.go b/receiver/k8sclusterreceiver/internal/cronjob/package_test.go index 2badc58d9d33..79303916cf10 100644 --- a/receiver/k8sclusterreceiver/internal/cronjob/package_test.go +++ b/receiver/k8sclusterreceiver/internal/cronjob/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/k8sclusterreceiver/internal/demonset/package_test.go b/receiver/k8sclusterreceiver/internal/demonset/package_test.go index 00ae939fa680..cbb7f74afde5 100644 --- a/receiver/k8sclusterreceiver/internal/demonset/package_test.go +++ b/receiver/k8sclusterreceiver/internal/demonset/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/k8sclusterreceiver/internal/deployment/package_test.go b/receiver/k8sclusterreceiver/internal/deployment/package_test.go index 6a15758d0108..fb0b61678f40 100644 --- a/receiver/k8sclusterreceiver/internal/deployment/package_test.go +++ b/receiver/k8sclusterreceiver/internal/deployment/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/k8sclusterreceiver/internal/hpa/package_test.go b/receiver/k8sclusterreceiver/internal/hpa/package_test.go index 74e4848d23b7..02a24d37bcbf 100644 --- a/receiver/k8sclusterreceiver/internal/hpa/package_test.go +++ b/receiver/k8sclusterreceiver/internal/hpa/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/k8sclusterreceiver/internal/jobs/package_test.go b/receiver/k8sclusterreceiver/internal/jobs/package_test.go index 59cb166ec229..170b7336aefa 100644 --- a/receiver/k8sclusterreceiver/internal/jobs/package_test.go +++ b/receiver/k8sclusterreceiver/internal/jobs/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/k8sclusterreceiver/internal/metadata/package_test.go b/receiver/k8sclusterreceiver/internal/metadata/package_test.go index c83588d3062e..1aba5ec4bb0b 100644 --- a/receiver/k8sclusterreceiver/internal/metadata/package_test.go +++ b/receiver/k8sclusterreceiver/internal/metadata/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/k8sclusterreceiver/internal/namespace/package_test.go b/receiver/k8sclusterreceiver/internal/namespace/package_test.go index 169d5069919f..bd0eb3cc5084 100644 --- a/receiver/k8sclusterreceiver/internal/namespace/package_test.go +++ b/receiver/k8sclusterreceiver/internal/namespace/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/k8sclusterreceiver/internal/node/package_test.go b/receiver/k8sclusterreceiver/internal/node/package_test.go index 558cfc86cba9..5cdd36029699 100644 --- a/receiver/k8sclusterreceiver/internal/node/package_test.go +++ b/receiver/k8sclusterreceiver/internal/node/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/k8sclusterreceiver/internal/pod/package_test.go b/receiver/k8sclusterreceiver/internal/pod/package_test.go index f85dcd0fd759..fa2addb15c5f 100644 --- a/receiver/k8sclusterreceiver/internal/pod/package_test.go +++ b/receiver/k8sclusterreceiver/internal/pod/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/k8sclusterreceiver/internal/replicaset/package_test.go b/receiver/k8sclusterreceiver/internal/replicaset/package_test.go index a1caec09a4b7..c769894f0e9a 100644 --- a/receiver/k8sclusterreceiver/internal/replicaset/package_test.go +++ b/receiver/k8sclusterreceiver/internal/replicaset/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/k8sclusterreceiver/internal/replicationcontroller/package_test.go b/receiver/k8sclusterreceiver/internal/replicationcontroller/package_test.go index 5163b4cc18a7..e97f48767d48 100644 --- a/receiver/k8sclusterreceiver/internal/replicationcontroller/package_test.go +++ b/receiver/k8sclusterreceiver/internal/replicationcontroller/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/k8sclusterreceiver/internal/resourcequota/package_test.go b/receiver/k8sclusterreceiver/internal/resourcequota/package_test.go index 4733b3a992a2..7180a2598520 100644 --- a/receiver/k8sclusterreceiver/internal/resourcequota/package_test.go +++ b/receiver/k8sclusterreceiver/internal/resourcequota/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/k8sclusterreceiver/internal/statefulset/package_test.go b/receiver/k8sclusterreceiver/internal/statefulset/package_test.go index 7e608433a84d..ebf6319023cf 100644 --- a/receiver/k8sclusterreceiver/internal/statefulset/package_test.go +++ b/receiver/k8sclusterreceiver/internal/statefulset/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/kafkametricsreceiver/internal/metadata/package_test.go b/receiver/kafkametricsreceiver/internal/metadata/package_test.go index c83588d3062e..1aba5ec4bb0b 100644 --- a/receiver/kafkametricsreceiver/internal/metadata/package_test.go +++ b/receiver/kafkametricsreceiver/internal/metadata/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/kafkametricsreceiver/package_test.go b/receiver/kafkametricsreceiver/package_test.go index 6ee0ea2523ca..7b7f2a1c3fda 100644 --- a/receiver/kafkametricsreceiver/package_test.go +++ b/receiver/kafkametricsreceiver/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/kubeletstatsreceiver/internal/kubelet/package_test.go b/receiver/kubeletstatsreceiver/internal/kubelet/package_test.go index 6409b75cf9fb..09546bfd4d9a 100644 --- a/receiver/kubeletstatsreceiver/internal/kubelet/package_test.go +++ b/receiver/kubeletstatsreceiver/internal/kubelet/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/kubeletstatsreceiver/internal/metadata/package_test.go b/receiver/kubeletstatsreceiver/internal/metadata/package_test.go index c83588d3062e..1aba5ec4bb0b 100644 --- a/receiver/kubeletstatsreceiver/internal/metadata/package_test.go +++ b/receiver/kubeletstatsreceiver/internal/metadata/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/lokireceiver/package_test.go b/receiver/lokireceiver/package_test.go index dcc3f1afcd10..772bf02240ed 100644 --- a/receiver/lokireceiver/package_test.go +++ b/receiver/lokireceiver/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/memcachedreceiver/internal/metadata/package_test.go b/receiver/memcachedreceiver/internal/metadata/package_test.go index c83588d3062e..1aba5ec4bb0b 100644 --- a/receiver/memcachedreceiver/internal/metadata/package_test.go +++ b/receiver/memcachedreceiver/internal/metadata/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/memcachedreceiver/package_test.go b/receiver/memcachedreceiver/package_test.go index cb1504d6f1de..abc6bf2546a0 100644 --- a/receiver/memcachedreceiver/package_test.go +++ b/receiver/memcachedreceiver/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/mongodbatlasreceiver/internal/metadata/package_test.go b/receiver/mongodbatlasreceiver/internal/metadata/package_test.go index c83588d3062e..1aba5ec4bb0b 100644 --- a/receiver/mongodbatlasreceiver/internal/metadata/package_test.go +++ b/receiver/mongodbatlasreceiver/internal/metadata/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/mongodbreceiver/internal/metadata/package_test.go b/receiver/mongodbreceiver/internal/metadata/package_test.go index c83588d3062e..1aba5ec4bb0b 100644 --- a/receiver/mongodbreceiver/internal/metadata/package_test.go +++ b/receiver/mongodbreceiver/internal/metadata/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/mongodbreceiver/package_test.go b/receiver/mongodbreceiver/package_test.go index f4d7979565aa..cd15b1c3fe54 100644 --- a/receiver/mongodbreceiver/package_test.go +++ b/receiver/mongodbreceiver/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/mysqlreceiver/internal/metadata/package_test.go b/receiver/mysqlreceiver/internal/metadata/package_test.go index c83588d3062e..1aba5ec4bb0b 100644 --- a/receiver/mysqlreceiver/internal/metadata/package_test.go +++ b/receiver/mysqlreceiver/internal/metadata/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/mysqlreceiver/package_test.go b/receiver/mysqlreceiver/package_test.go index 47234f42d8fe..691792482a4c 100644 --- a/receiver/mysqlreceiver/package_test.go +++ b/receiver/mysqlreceiver/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/nginxreceiver/internal/metadata/package_test.go b/receiver/nginxreceiver/internal/metadata/package_test.go index c83588d3062e..1aba5ec4bb0b 100644 --- a/receiver/nginxreceiver/internal/metadata/package_test.go +++ b/receiver/nginxreceiver/internal/metadata/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/nsxtreceiver/internal/metadata/package_test.go b/receiver/nsxtreceiver/internal/metadata/package_test.go index c83588d3062e..1aba5ec4bb0b 100644 --- a/receiver/nsxtreceiver/internal/metadata/package_test.go +++ b/receiver/nsxtreceiver/internal/metadata/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/opencensusreceiver/internal/ocmetrics/package_test.go b/receiver/opencensusreceiver/internal/ocmetrics/package_test.go index a080456240b3..2cd3908a5358 100644 --- a/receiver/opencensusreceiver/internal/ocmetrics/package_test.go +++ b/receiver/opencensusreceiver/internal/ocmetrics/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/opencensusreceiver/internal/octrace/package_test.go b/receiver/opencensusreceiver/internal/octrace/package_test.go index f10e33bbaf90..3383dc22a3b1 100644 --- a/receiver/opencensusreceiver/internal/octrace/package_test.go +++ b/receiver/opencensusreceiver/internal/octrace/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/oracledbreceiver/internal/metadata/package_test.go b/receiver/oracledbreceiver/internal/metadata/package_test.go index c83588d3062e..1aba5ec4bb0b 100644 --- a/receiver/oracledbreceiver/internal/metadata/package_test.go +++ b/receiver/oracledbreceiver/internal/metadata/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/oracledbreceiver/package_test.go b/receiver/oracledbreceiver/package_test.go index 7cc6a314b219..28435bb6df0c 100644 --- a/receiver/oracledbreceiver/package_test.go +++ b/receiver/oracledbreceiver/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/osqueryreceiver/package_test.go b/receiver/osqueryreceiver/package_test.go index 05f3af407c7e..e1844d0e2240 100644 --- a/receiver/osqueryreceiver/package_test.go +++ b/receiver/osqueryreceiver/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/otlpjsonfilereceiver/package_test.go b/receiver/otlpjsonfilereceiver/package_test.go index 029d5468a1f0..1780dd816600 100644 --- a/receiver/otlpjsonfilereceiver/package_test.go +++ b/receiver/otlpjsonfilereceiver/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/postgresqlreceiver/internal/metadata/package_test.go b/receiver/postgresqlreceiver/internal/metadata/package_test.go index c83588d3062e..1aba5ec4bb0b 100644 --- a/receiver/postgresqlreceiver/internal/metadata/package_test.go +++ b/receiver/postgresqlreceiver/internal/metadata/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/postgresqlreceiver/package_test.go b/receiver/postgresqlreceiver/package_test.go index 7ba394126fd7..b64d95ca01b4 100644 --- a/receiver/postgresqlreceiver/package_test.go +++ b/receiver/postgresqlreceiver/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/rabbitmqreceiver/internal/metadata/package_test.go b/receiver/rabbitmqreceiver/internal/metadata/package_test.go index c83588d3062e..1aba5ec4bb0b 100644 --- a/receiver/rabbitmqreceiver/internal/metadata/package_test.go +++ b/receiver/rabbitmqreceiver/internal/metadata/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/rabbitmqreceiver/package_test.go b/receiver/rabbitmqreceiver/package_test.go index 8fb059802493..30a21d15b1b4 100644 --- a/receiver/rabbitmqreceiver/package_test.go +++ b/receiver/rabbitmqreceiver/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/receivercreator/package_test.go b/receiver/receivercreator/package_test.go index 97e319b9fc86..46461061c862 100644 --- a/receiver/receivercreator/package_test.go +++ b/receiver/receivercreator/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/redisreceiver/internal/metadata/package_test.go b/receiver/redisreceiver/internal/metadata/package_test.go index c83588d3062e..1aba5ec4bb0b 100644 --- a/receiver/redisreceiver/internal/metadata/package_test.go +++ b/receiver/redisreceiver/internal/metadata/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/redisreceiver/package_test.go b/receiver/redisreceiver/package_test.go index de8c8498677f..c88149425f20 100644 --- a/receiver/redisreceiver/package_test.go +++ b/receiver/redisreceiver/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/riakreceiver/internal/metadata/package_test.go b/receiver/riakreceiver/internal/metadata/package_test.go index c83588d3062e..1aba5ec4bb0b 100644 --- a/receiver/riakreceiver/internal/metadata/package_test.go +++ b/receiver/riakreceiver/internal/metadata/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/riakreceiver/package_test.go b/receiver/riakreceiver/package_test.go index 7c81e3b6b0d9..f095cb1e48d0 100644 --- a/receiver/riakreceiver/package_test.go +++ b/receiver/riakreceiver/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/saphanareceiver/internal/metadata/package_test.go b/receiver/saphanareceiver/internal/metadata/package_test.go index c83588d3062e..1aba5ec4bb0b 100644 --- a/receiver/saphanareceiver/internal/metadata/package_test.go +++ b/receiver/saphanareceiver/internal/metadata/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/skywalkingreceiver/package_test.go b/receiver/skywalkingreceiver/package_test.go index 5d92511bfbce..8afc0d7dd8de 100644 --- a/receiver/skywalkingreceiver/package_test.go +++ b/receiver/skywalkingreceiver/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/snmpreceiver/package_test.go b/receiver/snmpreceiver/package_test.go index 11b262f9a62f..c553e4931ff1 100644 --- a/receiver/snmpreceiver/package_test.go +++ b/receiver/snmpreceiver/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/snowflakereceiver/internal/metadata/package_test.go b/receiver/snowflakereceiver/internal/metadata/package_test.go index c83588d3062e..1aba5ec4bb0b 100644 --- a/receiver/snowflakereceiver/internal/metadata/package_test.go +++ b/receiver/snowflakereceiver/internal/metadata/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/splunkenterprisereceiver/internal/metadata/package_test.go b/receiver/splunkenterprisereceiver/internal/metadata/package_test.go index c83588d3062e..1aba5ec4bb0b 100644 --- a/receiver/splunkenterprisereceiver/internal/metadata/package_test.go +++ b/receiver/splunkenterprisereceiver/internal/metadata/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/splunkenterprisereceiver/package_test.go b/receiver/splunkenterprisereceiver/package_test.go index 7c16d334de25..51caab706c73 100644 --- a/receiver/splunkenterprisereceiver/package_test.go +++ b/receiver/splunkenterprisereceiver/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/sqlserverreceiver/internal/metadata/package_test.go b/receiver/sqlserverreceiver/internal/metadata/package_test.go index c83588d3062e..1aba5ec4bb0b 100644 --- a/receiver/sqlserverreceiver/internal/metadata/package_test.go +++ b/receiver/sqlserverreceiver/internal/metadata/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/sqlserverreceiver/package_test.go b/receiver/sqlserverreceiver/package_test.go index 37bae3453d33..2aed75e4608d 100644 --- a/receiver/sqlserverreceiver/package_test.go +++ b/receiver/sqlserverreceiver/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/sshcheckreceiver/internal/configssh/package_test.go b/receiver/sshcheckreceiver/internal/configssh/package_test.go index 97a5369566fa..3880cfe24aa4 100644 --- a/receiver/sshcheckreceiver/internal/configssh/package_test.go +++ b/receiver/sshcheckreceiver/internal/configssh/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/sshcheckreceiver/internal/metadata/package_test.go b/receiver/sshcheckreceiver/internal/metadata/package_test.go index c83588d3062e..1aba5ec4bb0b 100644 --- a/receiver/sshcheckreceiver/internal/metadata/package_test.go +++ b/receiver/sshcheckreceiver/internal/metadata/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/statsdreceiver/package_test.go b/receiver/statsdreceiver/package_test.go index 7730f09fe281..22212e630214 100644 --- a/receiver/statsdreceiver/package_test.go +++ b/receiver/statsdreceiver/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/syslogreceiver/package_test.go b/receiver/syslogreceiver/package_test.go index fb2048e8458d..434090f51d69 100644 --- a/receiver/syslogreceiver/package_test.go +++ b/receiver/syslogreceiver/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/tcplogreceiver/package_test.go b/receiver/tcplogreceiver/package_test.go index 255a5fe3b5c4..624dadf8ff1d 100644 --- a/receiver/tcplogreceiver/package_test.go +++ b/receiver/tcplogreceiver/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/udplogreceiver/package_test.go b/receiver/udplogreceiver/package_test.go index 80695e5da5fe..63dedc33a79f 100644 --- a/receiver/udplogreceiver/package_test.go +++ b/receiver/udplogreceiver/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/vcenterreceiver/internal/metadata/package_test.go b/receiver/vcenterreceiver/internal/metadata/package_test.go index c83588d3062e..1aba5ec4bb0b 100644 --- a/receiver/vcenterreceiver/internal/metadata/package_test.go +++ b/receiver/vcenterreceiver/internal/metadata/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/vcenterreceiver/package_test.go b/receiver/vcenterreceiver/package_test.go index c7301b240353..7cb2cde81a5b 100644 --- a/receiver/vcenterreceiver/package_test.go +++ b/receiver/vcenterreceiver/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/wavefrontreceiver/package_test.go b/receiver/wavefrontreceiver/package_test.go index 335576ea1e61..22f79a7e4ae6 100644 --- a/receiver/wavefrontreceiver/package_test.go +++ b/receiver/wavefrontreceiver/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/webhookeventreceiver/package_test.go b/receiver/webhookeventreceiver/package_test.go index 4537f4cd41b5..30290f231e8e 100644 --- a/receiver/webhookeventreceiver/package_test.go +++ b/receiver/webhookeventreceiver/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/windowseventlogreceiver/package_test.go b/receiver/windowseventlogreceiver/package_test.go index 70b5122d5ca9..32ea110d18c5 100644 --- a/receiver/windowseventlogreceiver/package_test.go +++ b/receiver/windowseventlogreceiver/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/windowsperfcountersreceiver/package_test.go b/receiver/windowsperfcountersreceiver/package_test.go index 9e6df6a686e9..1f6929cc43b8 100644 --- a/receiver/windowsperfcountersreceiver/package_test.go +++ b/receiver/windowsperfcountersreceiver/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/zipkinreceiver/package_test.go b/receiver/zipkinreceiver/package_test.go index c41da34c6957..6a9aa07443a0 100644 --- a/receiver/zipkinreceiver/package_test.go +++ b/receiver/zipkinreceiver/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) } diff --git a/receiver/zookeeperreceiver/internal/metadata/package_test.go b/receiver/zookeeperreceiver/internal/metadata/package_test.go index c83588d3062e..1aba5ec4bb0b 100644 --- a/receiver/zookeeperreceiver/internal/metadata/package_test.go +++ b/receiver/zookeeperreceiver/internal/metadata/package_test.go @@ -9,9 +9,6 @@ import ( "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")) + goleak.VerifyTestMain(m) }