test: tighten slow test timeouts and cleanup

This commit is contained in:
Peter Steinberger
2026-02-24 01:16:43 +00:00
parent 6c43d0a08e
commit e5931554bf
6 changed files with 10 additions and 9 deletions

View File

@@ -338,7 +338,7 @@ describe("gateway server agent", () => {
expect(second.payload).toEqual(firstFinal.payload);
});
test("agent dedupe survives reconnect", { timeout: 60_000 }, async () => {
test("agent dedupe survives reconnect", { timeout: 20_000 }, async () => {
await withGatewayServer(async ({ port }) => {
const dial = async () => {
const ws = new WebSocket(`ws://127.0.0.1:${port}`);