mirror of
https://github.com/hanzoai/telemetry.git
synced 2026-10-30 20:01:49 +00:00
This automates the generation of package_test.go for any component that
uses mdatagen.
The following configuration can be used to skip or ignore certain funcs:
```yaml
tests:
goleak:
skip: true
tests:
goleak:
ignore:
top:
- "go.opencensus.io/stats/view.(*worker).start"
```
---------
Signed-off-by: Alex Boten <[email protected]>
14 lines
171 B
Go
14 lines
171 B
Go
// Code generated by mdatagen. DO NOT EDIT.
|
|
|
|
package otlpreceiver
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"go.uber.org/goleak"
|
|
)
|
|
|
|
func TestMain(m *testing.M) {
|
|
goleak.VerifyTestMain(m)
|
|
}
|