From 2f51b44ff8ca38de4aba56a7267dec6cec78b704 Mon Sep 17 00:00:00 2001 From: Alex Tkachev Date: Mon, 7 Oct 2024 21:40:34 +0400 Subject: [PATCH] chore: increase tests timeout even more Very slow CI today... --- packages/npm/@amazeelabs/silverback-playwright/index.ts | 2 +- packages/tests/silverback-gatsby/playwright.config.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/npm/@amazeelabs/silverback-playwright/index.ts b/packages/npm/@amazeelabs/silverback-playwright/index.ts index a51da0469..25ef01ea6 100644 --- a/packages/npm/@amazeelabs/silverback-playwright/index.ts +++ b/packages/npm/@amazeelabs/silverback-playwright/index.ts @@ -47,7 +47,7 @@ export const waitForGatsby = async () => { const timeout = setTimeout(() => { throw new Error('Gatsby took too long to build.'); - }, 120_000); + }, 180_000); if (status === 'outdated') { // Sometimes this request fails in CI. diff --git a/packages/tests/silverback-gatsby/playwright.config.ts b/packages/tests/silverback-gatsby/playwright.config.ts index 24e818522..74664d0f7 100644 --- a/packages/tests/silverback-gatsby/playwright.config.ts +++ b/packages/tests/silverback-gatsby/playwright.config.ts @@ -38,7 +38,7 @@ export const config: PlaywrightTestConfig = { }, ], // Initial gatsby build can take long. - timeout: 120_000, + timeout: 180_000, }; export default defineConfig(config);