Skip to content

Commit

Permalink
Remove opencensus ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
crobert-1 committed Feb 7, 2024
1 parent 551fa0c commit 9f6a59a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions exporter/coralogixexporter/package_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit 9f6a59a

Please sign in to comment.