Skip to content

Commit 07e5b2d

Browse files
committed
test: update default timeout inteval to 30 seconds (#1463)
This change is an effort to reduce the flakiness of the e2e tests on macos. If those e2e tests are still still flaky after this change, we should consider them for macos. (cherry picked from commit a546f55)
1 parent 49d81aa commit 07e5b2d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

integration/e2e/helper.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ function sleep(ms: number) {
1212
}
1313

1414
export async function activate(uri: vscode.Uri) {
15+
// set default timeout to 30 seconds
16+
jasmine.DEFAULT_TIMEOUT_INTERVAL = 30_000;
1517
await vscode.window.showTextDocument(uri);
1618
await waitForDefinitionsToBeAvailable(20);
1719
}

0 commit comments

Comments
 (0)