Skip to content

Commit ac261d2

Browse files
committed
increase session test time
1 parent c61a2b9 commit ac261d2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • apps/e2e/tests/backend/endpoints/api/v1/auth/sessions

apps/e2e/tests/backend/endpoints/api/v1/auth/sessions/index.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ it("creates sessions that expire", async ({ expect }) => {
100100
await Auth.expectToBeSignedIn();
101101
} finally {
102102
const timeSinceBeginDate = new Date().getTime() - beginDate.getTime();
103-
if (timeSinceBeginDate > 4_000) {
104-
throw new StackAssertionError(`Timeout error: Requests were too slow (${timeSinceBeginDate}ms > 4000ms); try again or try to understand why they were slow.`);
103+
if (timeSinceBeginDate > 6_000) {
104+
throw new StackAssertionError(`Timeout error: Requests were too slow (${timeSinceBeginDate}ms > 6000ms); try again or try to understand why they were slow.`);
105105
}
106106
}
107107
await waitPromise;

0 commit comments

Comments
 (0)