test(gateway): speed up contract and polling suites

This commit is contained in:
Peter Steinberger
2026-02-24 00:31:30 +00:00
parent 7d55277d72
commit f58c1ef34e
7 changed files with 103 additions and 146 deletions

View File

@@ -303,7 +303,7 @@ describe("gateway server auth/connect", () => {
try {
const ws = await openWs(port);
const handshakeTimeoutMs = getHandshakeTimeoutMs();
const closed = await waitForWsClose(ws, handshakeTimeoutMs + 120);
const closed = await waitForWsClose(ws, handshakeTimeoutMs + 60);
expect(closed).toBe(true);
} finally {
if (prevHandshakeTimeout === undefined) {