Skip to content

Commit

Permalink
remove -race flag from windows integ tests
Browse files Browse the repository at this point in the history
in go 1.20 it requires cgo, and gcc is not installed on these instances
  • Loading branch information
sparrc committed Jun 28, 2023
1 parent 7cd88fc commit 4aacd7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/run-integ-tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ Invoke-Expression "${PSScriptRoot}\..\misc\exec-command-agent-test\build.ps1"
# Run the tests
$cwd = (pwd).Path
try {
$env:ECS_LOGLEVEL = 'debug'; go test -race -tags integration -timeout=40m -v ../agent/engine ../agent/stats ../agent/app
$env:ECS_LOGLEVEL = 'debug'; go test -tags integration -timeout=40m -v ../agent/engine ../agent/stats ../agent/app
if (${LastExitCode} -ne 0) {
$env:ECS_LOGLEVEL = 'debug'; go test -race -tags integration -timeout=40m -v ../agent/engine ../agent/stats ../agent/app
$env:ECS_LOGLEVEL = 'debug'; go test -tags integration -timeout=40m -v ../agent/engine ../agent/stats ../agent/app
}
$testsExitCode = $LastExitCode
} finally {
Expand Down

0 comments on commit 4aacd7d

Please sign in to comment.