fix(e2e): bound telegram rtt mock logs · openclaw/openclaw@9e87d31
vincentkoc
·
2026-06-07
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -214,6 +214,7 @@ describe("RTT harness", () => {
|
214 | 214 | ); |
215 | 215 | expect(script).toContain("run_logged docker_e2e_docker_run_cmd run --rm"); |
216 | 216 | expect(script).not.toContain("run_logged docker run --rm"); |
| 217 | +expect(script).toContain("source scripts/lib/openclaw-e2e-instance.sh"); |
217 | 218 | expect(script).toContain('docker_e2e_print_log "$run_log"'); |
218 | 219 | expect(script).not.toContain('cat "$run_log"'); |
219 | 220 | expect(heartbeatStartIndex).toBeGreaterThan(sourceIndex); |
@@ -225,6 +226,8 @@ describe("RTT harness", () => {
|
225 | 226 | expect(script).toContain("const timer = setTimeout(() => controller.abort(), 1000);"); |
226 | 227 | expect(script).toContain('if [ "$mock_ready" != "1" ]; then'); |
227 | 228 | expect(script).toContain("Mock OpenAI server did not become ready"); |
| 229 | +expect(script).toContain('openclaw_e2e_print_log "$mock_log"'); |
| 230 | +expect(script).not.toContain('cat "$mock_log"'); |
228 | 231 | expect(script).not.toContain("fetch('http://127.0.0.1:${mock_port}/health')"); |
229 | 232 | expect(script).not.toContain('export TELEGRAM_BOT_TOKEN="$OPENCLAW_QA_TELEGRAM_SUT_BOT_TOKEN"'); |
230 | 233 | }); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。