mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 10:30:44 +00:00
test(gateway): tolerate loaded auth rotation close
This commit is contained in:
@@ -217,7 +217,7 @@ describe("gateway shared auth rotation with unchanged SecretRefs", () => {
|
||||
it("disconnects shared-auth websocket sessions when config.apply rewrites a SecretRef token", async () => {
|
||||
const ws = await openSecretRefAuthenticatedWs();
|
||||
try {
|
||||
const closed = waitForGatewayWsClose(ws);
|
||||
const closed = waitForGatewayWsClose(ws, 30_000);
|
||||
process.env[SECRET_REF_TOKEN_ID] = NEW_TOKEN;
|
||||
const res = await applyCurrentConfig(ws);
|
||||
expect(res.ok).toBe(true);
|
||||
|
||||
Reference in New Issue
Block a user