Skip to content

Commit e709f7b

Browse files
authored
chore(ci): bump timeouts for e2e tests in test installers tasks COMPASS-9464 (#7037)
chore(ci): bump timeouts for e2e tests in test installers tasks
1 parent 58a1873 commit e709f7b

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/test-installers.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,10 @@ jobs:
178178
container: ${{ matrix.container }}
179179
env:
180180
DEBUG: compass:smoketests:*,compass-e2e-tests:*
181+
# Similar to total task timeout, setting these higher than the default
182+
# value to account for very slow windows machines
183+
COMPASS_E2E_MOCHA_TIMEOUT: 720000 # 12min
184+
COMPASS_E2E_WEBDRIVER_WAITFOR_TIMEOUT: 360000 # 6min
181185
steps:
182186
- name: Checkout
183187
uses: actions/checkout@v2

packages/compass-e2e-tests/helpers/test-runner-context.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ function buildCommonArgs(yargs: Argv) {
4949
.option('mocha-timeout', {
5050
type: 'number',
5151
description: 'Set a custom default mocha timeout',
52-
// Kinda arbitrary, but longer than webdriver-waitfor-timeout so the test
53-
// can fail before Mocha times out
54-
default: 240_000,
52+
// 4min, kinda arbitrary, but longer than webdriver-waitfor-timeout so the
53+
// test can fail before Mocha times out
54+
default: 1000 * 60 * 4,
5555
})
5656
.option('mocha-bail', {
5757
type: 'boolean',

0 commit comments

Comments
 (0)