Skip to content
This repository was archived by the owner on Apr 11, 2024. It is now read-only.

Commit 2bad7ef

Browse files
Increases jest timeout to 25s for Docker tests
1 parent 08815d1 commit 2bad7ef

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/auth/session/storage/__tests__/mongodb.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const dbName = 'shopitest';
1515

1616
// SORRY NOT SORRY. Docker containers can take quite a while to get ready,
1717
// especially on CI. This is hopefully enough.
18-
jest.setTimeout(20000);
18+
jest.setTimeout(25000);
1919

2020
describe('MongoDBSessionStorage', () => {
2121
let storage: MongoDBSessionStorage;

src/auth/session/storage/__tests__/mysql.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const dbURL = new URL('mysql://shopify:passify@localhost/shopitest');
1414

1515
// SORRY NOT SORRY. Docker containers can take quite a while to get ready,
1616
// especially on CI. This is hopefully enough.
17-
jest.setTimeout(20000);
17+
jest.setTimeout(25000);
1818

1919
describe('MySQLSessionStorage', () => {
2020
let storage: MySQLSessionStorage;

src/auth/session/storage/__tests__/postgresql.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const dbURL = new URL('postgres://shopify:passify@localhost/shopitest');
1414

1515
// SORRY NOT SORRY. Docker containers can take quite a while to get ready,
1616
// especially on CI. This is hopefully enough.
17-
jest.setTimeout(20000);
17+
jest.setTimeout(25000);
1818

1919
describe('PostgreSQLSessionStorage', () => {
2020
let storage: PostgreSQLSessionStorage;

src/auth/session/storage/__tests__/redis.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const dbURL = new URL('redis://shopify:passify@localhost/1');
1414

1515
// SORRY NOT SORRY. Docker containers can take quite a while to get ready,
1616
// especially on CI. This is hopefully enough.
17-
jest.setTimeout(20000);
17+
jest.setTimeout(25000);
1818

1919
describe('RedisSessionStorage', () => {
2020
let storage: RedisSessionStorage | undefined;

0 commit comments

Comments
 (0)