Skip to content

Commit d88a583

Browse files
committed
refactor: increase overall test times to catch possible variations in response time
1 parent f0c7278 commit d88a583

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

indexer/jest.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default {
88
},
99
],
1010
},
11-
testTimeout: 10000,
11+
testTimeout: 90000,
1212
extensionsToTreatAsEsm: ['.ts'],
1313
moduleNameMapper: {
1414
'^(\\.{1,2}/.*)\\.js$': '$1',

indexer/tests/integration/subscriptions/events.subscription.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ interface SubscriptionResponse {
2020

2121
const wsUrl = process.env.WS_URL ?? 'ws://localhost:3001/graphql';
2222

23-
const SUBSCRIPTION_TIMEOUT = 30000;
23+
const SUBSCRIPTION_TIMEOUT = 90000;
2424

2525
describe('Events Subscription', () => {
2626
it.only(

indexer/tests/integration/subscriptions/new-blocks-from-depth.subscription.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ interface SubscriptionResponse {
8282

8383
const wsUrl = process.env.WS_URL ?? 'ws://localhost:3001/graphql';
8484

85-
const SUBSCRIPTION_TIMEOUT = 30000;
85+
const SUBSCRIPTION_TIMEOUT = 90000;
8686

8787
describe('New Blocks From Depth Subscription', () => {
8888
it(

indexer/tests/integration/subscriptions/new-blocks.subscription.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ interface SubscriptionResponse {
8282

8383
const wsUrl = process.env.WS_URL ?? 'ws://localhost:3001/graphql';
8484

85-
const SUBSCRIPTION_TIMEOUT = 30000;
85+
const SUBSCRIPTION_TIMEOUT = 90000;
8686

8787
describe('New Blocks Subscription', () => {
8888
it(

0 commit comments

Comments
 (0)