Skip to content

Commit b44e6e6

Browse files
authored
fix(healthcheck): remove t.Parallel() from healthcheck tests (#7174)
1 parent 658246d commit b44e6e6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

coderd/healthcheck/derp_test.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,11 @@ import (
2121
"github.com/coder/coder/tailnet"
2222
)
2323

24+
//nolint:tparallel
2425
func TestDERP(t *testing.T) {
25-
t.Parallel()
26+
if testing.Short() {
27+
t.Skip("skipping healthcheck test in short mode, they reach out over the network.")
28+
}
2629

2730
t.Run("OK", func(t *testing.T) {
2831
t.Parallel()

0 commit comments

Comments
 (0)