test: 补充三端独立编排验证 (#154)
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user