Skip to content

Commit

Permalink
[chore][receiver/saphana] Enable goleak check (#32183)
Browse files Browse the repository at this point in the history
Enable `goleak` check for the SAP HANA receiver to help ensure no
goroutines are being leaked.

**Link to tracking Issue:** #30438
  • Loading branch information
crobert-1 authored Apr 5, 2024
1 parent e837b08 commit d198445
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions receiver/saphanareceiver/package_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
// Copyright The OpenTelemetry Authors
// SPDX-License-Identifier: Apache-2.0

package saphanareceiver

import (
"testing"

"go.uber.org/goleak"
)

func TestMain(m *testing.M) {
goleak.VerifyTestMain(m)
}

0 comments on commit d198445

Please sign in to comment.