File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 66 "database/sql"
77 "fmt"
88 "net/http"
9+ "runtime"
910 "sync/atomic"
1011 "testing"
1112 "time"
@@ -1398,8 +1399,12 @@ func TestTemplateDoesNotAllowUserAutostop(t *testing.T) {
13981399// real Terraform provisioner and validate that the workspace is created
13991400// successfully. The workspace itself does not specify any resources, and
14001401// this is fine.
1402+ // nolint:paralleltest // this test tends to time out on windows runners
1403+ // when run in parallel
14011404func TestWorkspaceTagsTerraform (t * testing.T ) {
1402- t .Parallel ()
1405+ if runtime .GOOS != "windows" {
1406+ t .Parallel ()
1407+ }
14031408
14041409 mainTfTemplate := `
14051410 terraform {
@@ -1528,7 +1533,9 @@ func TestWorkspaceTagsTerraform(t *testing.T) {
15281533 } {
15291534 tc := tc
15301535 t .Run (tc .name , func (t * testing.T ) {
1531- t .Parallel ()
1536+ if runtime .GOOS != "windows" {
1537+ t .Parallel ()
1538+ }
15321539 ctx := testutil .Context (t , testutil .WaitSuperLong )
15331540
15341541 client , owner := coderdenttest .New (t , & coderdenttest.Options {
You can’t perform that action at this time.
0 commit comments