Skip to content

Commit 81bca1a

Browse files
committed
Increase Mocha test timeout in CI
1 parent 7f58748 commit 81bca1a

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.gitlab-ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,3 +194,7 @@ als:windows:
194194
# In GitLab CI tests timeout more often on Windows, so we multiply
195195
# testsuite timeouts by the following factor
196196
ALS_WAIT_FACTOR: "2"
197+
198+
vscode-extension:windows:
199+
variables:
200+
MOCHA_TIMEOUT: "30000"

integration/vscode/ada/test/general/tasks.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ import {
2626
import { runTaskAndGetResult } from '../../src/taskProviders';
2727

2828
suite('Task Providers', function () {
29-
this.timeout('15s');
29+
// Set timeout to 15 seconds unless already configured to more
30+
this.timeout(Math.max(this.timeout(), 15000));
3031

3132
let projectPath: string;
3233

0 commit comments

Comments
 (0)