@@ -18,6 +18,10 @@ import (
18
18
func TestScaleTestCreateWorkspaces (t * testing.T ) {
19
19
t .Parallel ()
20
20
21
+ if testutil .RaceEnabled () {
22
+ t .Skip ("Skipping due to race detector" )
23
+ }
24
+
21
25
// This test only validates that the CLI command accepts known arguments.
22
26
// More thorough testing is done in scaletest/createworkspaces/run_test.go.
23
27
ctx , cancelFunc := context .WithTimeout (context .Background (), testutil .WaitLong )
@@ -65,6 +69,10 @@ func TestScaleTestCreateWorkspaces(t *testing.T) {
65
69
func TestScaleTestWorkspaceTraffic (t * testing.T ) {
66
70
t .Parallel ()
67
71
72
+ if testutil .RaceEnabled () {
73
+ t .Skip ("Skipping due to race detector" )
74
+ }
75
+
68
76
ctx , cancelFunc := context .WithTimeout (context .Background (), testutil .WaitMedium )
69
77
defer cancelFunc ()
70
78
@@ -95,6 +103,10 @@ func TestScaleTestWorkspaceTraffic(t *testing.T) {
95
103
func TestScaleTestWorkspaceTraffic_Template (t * testing.T ) {
96
104
t .Parallel ()
97
105
106
+ if testutil .RaceEnabled () {
107
+ t .Skip ("Skipping due to race detector" )
108
+ }
109
+
98
110
ctx , cancelFunc := context .WithTimeout (context .Background (), testutil .WaitMedium )
99
111
defer cancelFunc ()
100
112
@@ -120,6 +132,10 @@ func TestScaleTestWorkspaceTraffic_Template(t *testing.T) {
120
132
func TestScaleTestWorkspaceTraffic_TargetWorkspaces (t * testing.T ) {
121
133
t .Parallel ()
122
134
135
+ if testutil .RaceEnabled () {
136
+ t .Skip ("Skipping due to race detector" )
137
+ }
138
+
123
139
ctx , cancelFunc := context .WithTimeout (context .Background (), testutil .WaitMedium )
124
140
defer cancelFunc ()
125
141
@@ -145,6 +161,10 @@ func TestScaleTestWorkspaceTraffic_TargetWorkspaces(t *testing.T) {
145
161
func TestScaleTestCleanup_Template (t * testing.T ) {
146
162
t .Parallel ()
147
163
164
+ if testutil .RaceEnabled () {
165
+ t .Skip ("Skipping due to race detector" )
166
+ }
167
+
148
168
ctx , cancelFunc := context .WithTimeout (context .Background (), testutil .WaitMedium )
149
169
defer cancelFunc ()
150
170
@@ -169,6 +189,10 @@ func TestScaleTestCleanup_Template(t *testing.T) {
169
189
// This test just validates that the CLI command accepts its known arguments.
170
190
func TestScaleTestDashboard (t * testing.T ) {
171
191
t .Parallel ()
192
+ if testutil .RaceEnabled () {
193
+ t .Skip ("Skipping due to race detector" )
194
+ }
195
+
172
196
t .Run ("MinWait" , func (t * testing.T ) {
173
197
t .Parallel ()
174
198
ctx , cancelFunc := context .WithTimeout (context .Background (), testutil .WaitShort )
0 commit comments