fix: parse qa transport timeout env strictly · openclaw/openclaw@2e8b344
steipete
·
2026-05-29
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -108,6 +108,13 @@ describe("qa suite", () => {
|
108 | 108 | OPENCLAW_QA_TRANSPORT_READY_TIMEOUT_MS: "bad", |
109 | 109 | }), |
110 | 110 | ).toBe(120_000); |
| 111 | +for (const value of ["0x10", "1e3", "10.5"]) { |
| 112 | +expect( |
| 113 | +qaSuiteProgressTesting.resolveQaSuiteTransportReadyTimeoutMs(undefined, { |
| 114 | +OPENCLAW_QA_TRANSPORT_READY_TIMEOUT_MS: value, |
| 115 | +}), |
| 116 | +).toBe(120_000); |
| 117 | +} |
111 | 118 | expect(qaSuiteProgressTesting.resolveQaSuiteTransportReadyTimeoutMs(90_000, {})).toBe(90_000); |
112 | 119 | }); |
113 | 120 | |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。