fix(perf): preserve gateway health benchmark auth · openclaw/openclaw@f99259d
steipete
·
2026-05-29
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -171,14 +171,28 @@ describe("bench-cli-startup", () => {
|
171 | 171 | args: ["config", "get", "gateway.port"], |
172 | 172 | presets: ["real"], |
173 | 173 | }), |
174 | | -).toEqual({ gateway: { port: 32123 } }); |
| 174 | +).toEqual({ |
| 175 | +gateway: { |
| 176 | +auth: { mode: "none" }, |
| 177 | +bind: "loopback", |
| 178 | +mode: "local", |
| 179 | +port: 32123, |
| 180 | +}, |
| 181 | +}); |
175 | 182 | expect( |
176 | 183 | testing.buildConfigFixture({ |
177 | 184 | id: "gatewayHealthJson", |
178 | 185 | name: "gateway health --json", |
179 | 186 | args: ["gateway", "health", "--json"], |
180 | 187 | presets: ["real"], |
181 | 188 | }), |
182 | | -).toBeNull(); |
| 189 | +).toEqual({ |
| 190 | +gateway: { |
| 191 | +auth: { mode: "none" }, |
| 192 | +bind: "loopback", |
| 193 | +mode: "local", |
| 194 | +port: 32123, |
| 195 | +}, |
| 196 | +}); |
183 | 197 | }); |
184 | 198 | }); |
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。