Skip to content

Commit

Permalink
Revert "[chore][receiver/sqlquery] Enable goleak check (open-telemetr…
Browse files Browse the repository at this point in the history
…y#31667)"

This reverts commit 2a638ec.
  • Loading branch information
TylerHelmuth committed Mar 15, 2024
1 parent 3351c9d commit 1fa233c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 18 deletions.
1 change: 0 additions & 1 deletion receiver/sqlqueryreceiver/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ require (
go.opentelemetry.io/collector/receiver v0.96.1-0.20240306115632-b2693620eff6
go.opentelemetry.io/otel/metric v1.24.0
go.opentelemetry.io/otel/trace v1.24.0
go.uber.org/goleak v1.3.0
go.uber.org/multierr v1.11.0
go.uber.org/zap v1.27.0
)
Expand Down
15 changes: 0 additions & 15 deletions receiver/sqlqueryreceiver/package_test.go

This file was deleted.

2 changes: 0 additions & 2 deletions receiver/sqlqueryreceiver/receiver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ func TestCreateLogsReceiver(t *testing.T) {
require.NoError(t, err)
err = receiver.Start(ctx, componenttest.NewNopHost())
require.NoError(t, err)
require.NoError(t, receiver.Shutdown(ctx))
}

func TestCreateMetricsReceiver(t *testing.T) {
Expand Down Expand Up @@ -76,7 +75,6 @@ func TestCreateMetricsReceiver(t *testing.T) {
require.NoError(t, err)
err = receiver.Start(ctx, componenttest.NewNopHost())
require.NoError(t, err)
require.NoError(t, receiver.Shutdown(ctx))
}

func fakeDBConnect(string, string) (*sql.DB, error) {
Expand Down

0 comments on commit 1fa233c

Please sign in to comment.