Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion apps/host-selfhost/src/scope-isolation.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,12 @@ test("concurrent requests with distinct identities get disjoint, correct executo
expect(addresses.some((a) => a.includes(connectionNameForUser(other)))).toBe(false);
}
});
}, 30_000);
// 120s, not the 30s this kept timing out at: seeding alone is 6 sequential
// addSpec calls, and each one is 0.5–15s under fork-pool CPU oversubscription
// (every test file boots a full app; all queries serialize through the one
// libSQL connection). The assertions are about isolation, not latency — a
// real regression fails on correctness, not the clock.
}, 120_000);

test("a request with no identity is rejected", async () => {
const res = await handler(new Request("http://localhost/api/connections"));
Expand Down
Loading