Chore: Update gocloud.dev, removing opencensus (#113056)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user