We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e3ff5b commit 694729bCopy full SHA for 694729b
cli/root_internal_test.go
@@ -1,6 +1,8 @@
1
package cli
2
3
import (
4
+ "os"
5
+ "runtime"
6
"testing"
7
8
"github.com/stretchr/testify/require"
@@ -67,6 +69,11 @@ func Test_formatExamples(t *testing.T) {
67
69
}
68
70
71
func TestMain(m *testing.M) {
72
+ if runtime.GOOS == "windows" {
73
+ // Don't run goleak on windows tests, they're super flaky right now.
74
+ // See: https://github.com/coder/coder/issues/8954
75
+ os.Exit(m.Run())
76
+ }
77
goleak.VerifyTestMain(m,
78
// The lumberjack library is used by by agent and seems to leave
79
// goroutines after Close(), fails TestGitSSH tests.
0 commit comments