Skip to content

Commit

Permalink
[chore][receiver/jmx/internal/subprocess] Enable goleak check (#31773)
Browse files Browse the repository at this point in the history
This originally was failing in CI/CD, but has passed 10+ times in a row,
I think it's safe to merge.

**Link to tracking Issue:**

#30438
  • Loading branch information
crobert-1 committed May 22, 2024
1 parent 6cec2a6 commit 91e4b9c
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions receiver/jmxreceiver/internal/subprocess/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 subprocess

import (
"testing"

"go.uber.org/goleak"
)

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

0 comments on commit 91e4b9c

Please sign in to comment.