We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9a19b7 commit 9597b0cCopy full SHA for 9597b0c
coderd/coderdtest/coderdtest.go
@@ -15,7 +15,6 @@ import (
15
"github.com/google/uuid"
16
"github.com/moby/moby/pkg/namesgenerator"
17
"github.com/stretchr/testify/require"
18
- "go.opencensus.io/stats/view"
19
"google.golang.org/api/idtoken"
20
"google.golang.org/api/option"
21
@@ -39,13 +38,6 @@ type Options struct {
39
38
// New constructs an in-memory coderd instance and returns
40
// the connected client.
41
func New(t *testing.T, options *Options) *codersdk.Client {
42
- // Stops the opencensus.io worker from leaking a goroutine.
43
- // The worker isn't used anyways, and is an indirect dependency
44
- // of the Google Cloud SDK.
45
- t.Cleanup(func() {
46
- view.Stop()
47
- })
48
-
49
if options == nil {
50
options = &Options{}
51
}
0 commit comments