Skip to content

Commit

Permalink
added timeout back, removed max retries
Browse files Browse the repository at this point in the history
  • Loading branch information
kaloster committed Sep 10, 2024
1 parent a6ea002 commit 7ff29e3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/__tests__/e2e/puppeteer.setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import * as ENV_DEFAULT from "../../../environment.default.json";
// a test can take more time to finish, so we don't want
// jest to shut off the test too soon
jest.setTimeout(2 * 60 * 1000);
setDefaultOptions({ timeout: 90 * 1000 });
setDefaultOptions({ timeout: 60 * 1000 });

jest.retryTimes(ENV_DEFAULT.RETRY_ATTEMPTS);

Expand Down
1 change: 1 addition & 0 deletions client/jest-puppeteer.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ const DEFAULT_LAUNCH_CONFIG = {
headless: !isHeadful,
args: ["--ignore-certificate-errors", "--ignore-ssl-errors"],
ignoreHTTPSErrors: true,
timeout: 90000,
defaultViewport: {
width: 1280,
height: 960,
Expand Down
2 changes: 1 addition & 1 deletion environment.default.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
"DEBUG": "debug",
"DEV": "dev",
"JEST_ENV": "prod",
"RETRY_ATTEMPTS": 4
"RETRY_ATTEMPTS": 2
}

0 comments on commit 7ff29e3

Please sign in to comment.