Skip to content

Commit b5f1633

Browse files
committed
remove -race flag from windows integ tests
1 parent 45246a7 commit b5f1633

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

scripts/run-integ-tests.ps1

+2-3
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,11 @@ Invoke-Expression "${PSScriptRoot}\..\misc\netkitten\build.ps1"
5757
Invoke-Expression "${PSScriptRoot}\..\misc\exec-command-agent-test\build.ps1"
5858

5959
# Run the tests
60-
# CGO_ENABLED=1 is required for the -race flag as of go 1.20
6160
$cwd = (pwd).Path
6261
try {
63-
$env:ECS_LOGLEVEL = 'debug'; $env:CGO_ENABLED=1; go test -race -tags integration -timeout=40m -v ../agent/engine ../agent/stats ../agent/app
62+
$env:ECS_LOGLEVEL = 'debug'; go test -tags integration -timeout=40m -v ../agent/engine ../agent/stats ../agent/app
6463
if (${LastExitCode} -ne 0) {
65-
$env:ECS_LOGLEVEL = 'debug'; $env:CGO_ENABLED=1; go test -race -tags integration -timeout=40m -v ../agent/engine ../agent/stats ../agent/app
64+
$env:ECS_LOGLEVEL = 'debug'; go test -tags integration -timeout=40m -v ../agent/engine ../agent/stats ../agent/app
6665
}
6766
$testsExitCode = $LastExitCode
6867
} finally {

0 commit comments

Comments
 (0)