Chore: Update gocloud.dev, removing opencensus (#113056)

This commit is contained in:
Ryan McKinley
2025-10-28 09:10:37 +00:00
committed by GitHub
parent bee486be23
commit d4d8b2562e
13 changed files with 281 additions and 1331 deletions
-2
View File
@@ -7,14 +7,12 @@ import (
"github.com/stretchr/testify/mock"
"github.com/stretchr/testify/require"
"go.opencensus.io/stats/view"
"go.uber.org/goleak"
"github.com/grafana/grafana/pkg/util/testutil/mocks"
)
func TestMain(m *testing.M) {
view.Stop()
// make sure we don't leak goroutines after tests in this package have
// finished, which means we haven't leaked contexts either
goleak.VerifyTestMain(m)