increase session test time

This commit is contained in:
Bilal Godil 2026-01-29 17:38:26 -08:00
parent c61a2b958e
commit ac261d24f0

View File

@ -100,8 +100,8 @@ it("creates sessions that expire", async ({ expect }) => {
await Auth.expectToBeSignedIn();
} finally {
const timeSinceBeginDate = new Date().getTime() - beginDate.getTime();
if (timeSinceBeginDate > 4_000) {
throw new StackAssertionError(`Timeout error: Requests were too slow (${timeSinceBeginDate}ms > 4000ms); try again or try to understand why they were slow.`);
if (timeSinceBeginDate > 6_000) {
throw new StackAssertionError(`Timeout error: Requests were too slow (${timeSinceBeginDate}ms > 6000ms); try again or try to understand why they were slow.`);
}
}
await waitPromise;