Skip to content

Commit

Permalink
[Security Solution] Increase default Cypress timeouts (#144722)
Browse files Browse the repository at this point in the history
## Summary

The default timeouts are increased:

- Locally: from 20s to 60s
- On CI: from 120s to 150s

Reasoning:

- Locally for some of the devs many tests fail with timeouts pretty often and pretty randomly.
- It looks like on CI flakiness has increased recently.
  • Loading branch information
banderror authored Nov 7, 2022
1 parent 21326b1 commit ce9a253
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions x-pack/plugins/security_solution/cypress/cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import { defineConfig } from 'cypress';

// eslint-disable-next-line import/no-default-export
export default defineConfig({
defaultCommandTimeout: 20000,
execTimeout: 20000,
pageLoadTimeout: 20000,
defaultCommandTimeout: 60000,
execTimeout: 60000,
pageLoadTimeout: 60000,
screenshotsFolder: '../../../target/kibana-security-solution/cypress/screenshots',
trashAssetsBeforeRuns: false,
video: false,
Expand Down
6 changes: 3 additions & 3 deletions x-pack/plugins/security_solution/cypress/cypress_ci.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import { defineConfig } from 'cypress';

// eslint-disable-next-line import/no-default-export
export default defineConfig({
defaultCommandTimeout: 120000,
execTimeout: 120000,
pageLoadTimeout: 120000,
defaultCommandTimeout: 150000,
execTimeout: 150000,
pageLoadTimeout: 150000,
numTestsKeptInMemory: 0,
retries: {
runMode: 2,
Expand Down

0 comments on commit ce9a253

Please sign in to comment.