Skip to content

Commit

Permalink
test: hail mary timeout increase (#2305)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aggelos Arvanitakis authored Dec 17, 2020
1 parent ea0d837 commit 5b74652
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions web/__tests__/setupTests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
});
}

Expand Down

0 comments on commit 5b74652

Please sign in to comment.