test(gateway): tolerate loaded auth rotation close · openclaw/openclaw@15f2ceb
steipete
·
2026-05-02
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -217,7 +217,7 @@ describe("gateway shared auth rotation with unchanged SecretRefs", () => {
|
217 | 217 | it("disconnects shared-auth websocket sessions when config.apply rewrites a SecretRef token", async () => { |
218 | 218 | const ws = await openSecretRefAuthenticatedWs(); |
219 | 219 | try { |
220 | | -const closed = waitForGatewayWsClose(ws); |
| 220 | +const closed = waitForGatewayWsClose(ws, 30_000); |
221 | 221 | process.env[SECRET_REF_TOKEN_ID] = NEW_TOKEN; |
222 | 222 | const res = await applyCurrentConfig(ws); |
223 | 223 | expect(res.ok).toBe(true); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。