Skip to content

Commit

Permalink
[chore][receiver/aerospike] Enable goleak check (#32567)
Browse files Browse the repository at this point in the history
**Description:** <Describe what has changed.>
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
Enable `goleak` check on the Aerospike receiver to help ensure no
goroutines are being leaked.

**Link to tracking Issue:** <Issue number if applicable>
#30438
  • Loading branch information
crobert-1 authored Apr 22, 2024
1 parent e829664 commit 32f2100
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions receiver/aerospikereceiver/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 aerospikereceiver

import (
"testing"

"go.uber.org/goleak"
)

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

0 comments on commit 32f2100

Please sign in to comment.