test: 补充三端独立编排验证 (#154)

This commit is contained in:
QiuSW
2026-08-31 16:12:14 +08:00
parent e2f7183ecf
commit 504dd1a2e9
@@ -96,6 +96,15 @@ exit 0
$occupiedPort.Stop()
}
foreach ($standaloneProduct in @('brain', 'bell')) {
& pwsh.exe -NoProfile -File $startScript -Manifest $manifestPath -Product $standaloneProduct
Assert-True ($LASTEXITCODE -eq 0) "$standaloneProduct standalone start failed."
& pwsh.exe -NoProfile -File $statusScript -Manifest $manifestPath -Product $standaloneProduct -Json
Assert-True ($LASTEXITCODE -eq 0) "$standaloneProduct standalone status is not healthy."
& pwsh.exe -NoProfile -File $stopScript -Manifest $manifestPath -Product $standaloneProduct
Assert-True ($LASTEXITCODE -eq 0) "$standaloneProduct standalone stop failed."
}
& pwsh.exe -NoProfile -File $startScript -Manifest $manifestPath -Product brain,bell
Assert-True ($LASTEXITCODE -eq 0) 'Brain+Bell combination start failed.'
$bellStatePath = Join-Path $testRoot 'runtime\state\bell.json'