diff --git a/scripts/test-suite.ps1 b/scripts/test-suite.ps1 index 35d657b..c6e29b4 100644 --- a/scripts/test-suite.ps1 +++ b/scripts/test-suite.ps1 @@ -267,8 +267,9 @@ if ($SubnetRecon) { if ($Recon) { Invoke-Phase "Deploy recon (engine + API + UI)" { Push-Location (Join-Path $Root "server") - go test ./internal/recon/... -count=1 - go test ./internal/api/... -run "Recon|DeployKit|FleetSpread" -count=1 + Invoke-GoTest "./internal/recon/..." + go test ./internal/api/... -run "^(TestReconScan|TestGetDeployKit|TestResolveRecon)" -count=1 + if ($LASTEXITCODE -and $LASTEXITCODE -ne 0) { throw "api deploy-recon tests failed (exit $LASTEXITCODE)" } Pop-Location Push-Location (Join-Path $Root "server\web") if (-not (Test-Path "node_modules")) { npm install --silent }