From 5b7465217036767d5af26cc33ab0256414930ca9 Mon Sep 17 00:00:00 2001 From: Aggelos Arvanitakis Date: Fri, 18 Dec 2020 00:37:08 +0200 Subject: [PATCH] test: hail mary timeout increase (#2305) --- web/__tests__/setupTests.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/web/__tests__/setupTests.ts b/web/__tests__/setupTests.ts index 0cbdb81bde..5cc02e713b 100644 --- a/web/__tests__/setupTests.ts +++ b/web/__tests__/setupTests.ts @@ -34,13 +34,13 @@ import { // In CI where containers have lower CPU/RAM, jest's parallelization may mean that a single // test might take a lot of seconds to complete (since they all get fractions of resources). -// We set a test timeout of 60 seconds to protect us against false reports in CI, while -// allowing a single test to wait for DOM updates for up to 10 seconds +// We set a test timeout of 90 seconds to protect us against false reports in CI, while +// allowing a single test to wait for DOM updates for up to 60 seconds if (process.env.CI) { - jest.setTimeout(60000); + jest.setTimeout(90000); configure({ - asyncUtilTimeout: 10000, + asyncUtilTimeout: 60000, }); }