Skip to content

Commit b5a7fd3

Browse files
committed
Longer timeouts since this build machine seems slower
1 parent 5c44712 commit b5a7fd3

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

test/integration-tests/BackgroundCompilation.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,5 @@ suite("BackgroundCompilation Test Suite", () => {
5858
await vscode.workspace.save(uri);
5959

6060
await taskPromise;
61-
}).timeout(120000);
61+
}).timeout(180000);
6262
});

test/integration-tests/DiagnosticsManager.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ suite("DiagnosticsManager Test Suite", async function () {
216216
// after first build and can cause intermittent
217217
// failure if `swiftc` diagnostic is fixed
218218
suiteSetup(async function () {
219-
this.timeout(2 * 60 * 1000); // Allow 2 minutes to build
219+
this.timeout(3 * 60 * 1000); // Allow 3 minutes to build
220220
const task = createBuildAllTask(folderContext);
221221
// This return exit code and output for the task but we will omit it here
222222
// because the failures are expected and we just want the task to build
@@ -1062,7 +1062,7 @@ suite("DiagnosticsManager Test Suite", async function () {
10621062

10631063
assertHasDiagnostic(mainUri, expectedDiagnostic1);
10641064
assertHasDiagnostic(mainUri, expectedDiagnostic2);
1065-
}).timeout(2 * 60 * 1000); // Allow 2 minutes to build
1065+
}).timeout(3 * 60 * 1000); // Allow 3 minutes to build
10661066

10671067
test("Provides clang diagnostics", async () => {
10681068
// Build for indexing
@@ -1099,6 +1099,6 @@ suite("DiagnosticsManager Test Suite", async function () {
10991099

11001100
assertHasDiagnostic(cUri, expectedDiagnostic1);
11011101
assertHasDiagnostic(cUri, expectedDiagnostic2);
1102-
}).timeout(2 * 60 * 1000); // Allow 2 minutes to build
1102+
}).timeout(3 * 60 * 1000); // Allow 3 minutes to build
11031103
});
11041104
});

test/integration-tests/SwiftSnippet.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function normalizePath(...segments: string[]): string {
3737
}
3838

3939
suite("SwiftSnippet Test Suite @slow", function () {
40-
this.timeout(120000);
40+
this.timeout(180000);
4141

4242
const uri = testAssetUri("defaultPackage/Snippets/hello.swift");
4343
const breakpoints = [

test/integration-tests/commands/build.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import { Version } from "../../../src/utilities/version";
2828

2929
suite("Build Commands @slow", function () {
3030
// Default timeout is a bit too short, give it a little bit more time
31-
this.timeout(2 * 60 * 1000);
31+
this.timeout(3 * 60 * 1000);
3232

3333
let folderContext: FolderContext;
3434
let workspaceContext: WorkspaceContext;

test/integration-tests/language/LanguageClientIntegration.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ async function buildProject(ctx: WorkspaceContext, name: string) {
3333
}
3434

3535
suite("Language Client Integration Suite @slow", function () {
36-
this.timeout(2 * 60 * 1000);
36+
this.timeout(3 * 60 * 1000);
3737

3838
let clientManager: LanguageClientManager;
3939
let workspaceContext: WorkspaceContext;

test/integration-tests/ui/PackageDependencyProvider.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ suite("PackageDependencyProvider Test Suite", function () {
3030
let workspaceContext: WorkspaceContext;
3131
let folderContext: FolderContext;
3232
let treeProvider: PackageDependenciesProvider;
33-
this.timeout(2 * 60 * 1000); // Allow up to 2 minutes to build
33+
this.timeout(3 * 60 * 1000); // Allow up to 3 minutes to build
3434

3535
activateExtensionForSuite({
3636
async setup(ctx) {

0 commit comments

Comments
 (0)