From 504dd1a2e925525be02ff808566e22ff75add52d Mon Sep 17 00:00:00 2001 From: QiuSW <105186638@qq.com> Date: Mon, 31 Aug 2026 16:12:14 +0800 Subject: [PATCH] =?UTF-8?q?test:=20=E8=A1=A5=E5=85=85=E4=B8=89=E7=AB=AF?= =?UTF-8?q?=E7=8B=AC=E7=AB=8B=E7=BC=96=E6=8E=92=E9=AA=8C=E8=AF=81=20(#154)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy/coordination/tests/coordination-smoke.ps1 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/deploy/coordination/tests/coordination-smoke.ps1 b/deploy/coordination/tests/coordination-smoke.ps1 index 3b2376f..f066b6d 100644 --- a/deploy/coordination/tests/coordination-smoke.ps1 +++ b/deploy/coordination/tests/coordination-smoke.ps1 @@ -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'