From e8de54baf8621692c6d8cc53856fb2e04546391d Mon Sep 17 00:00:00 2001 From: Jag Jayaprakash Date: Mon, 16 Sep 2024 13:32:07 -0700 Subject: [PATCH] NEW (Extension) @W-15640497@ Increase test timeouts --- src/test/suite/extension.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/suite/extension.test.ts b/src/test/suite/extension.test.ts index 9f7ee9f..e146bb4 100644 --- a/src/test/suite/extension.test.ts +++ b/src/test/suite/extension.test.ts @@ -58,7 +58,7 @@ suite('Extension Test Suite', () => { // ===== SETUP ===== // Set the timeout to a frankly absurd value, just to make sure Github Actions // can finish it in time. - this.timeout(90000); + this.timeout(180000); // Open a file in the editor. const fileUri: vscode.Uri = vscode.Uri.file(path.join(codeFixturesPath, 'folder-a', 'MyClassA1.cls')); const doc = await vscode.workspace.openTextDocument(fileUri); @@ -89,7 +89,7 @@ suite('Extension Test Suite', () => { // ===== SETUP ===== // Set the timeout to a frankly absurd value, just to make sure Github Actions // can finish it in time. - this.timeout(60000); + this.timeout(180000); // Get the URI for a single file. const targetUri: vscode.Uri = vscode.Uri.file(path.join(codeFixturesPath, 'folder-a', 'MyClassA1.cls')); @@ -119,7 +119,7 @@ suite('Extension Test Suite', () => { // ===== SETUP ===== // Set the timeout to a frankly absurd value, just to make sure Github Actions // can finish it in time. - this.timeout(60000); + this.timeout(180000); // Get the URIs for two separate files. const targetUri1: vscode.Uri = vscode.Uri.file(path.join(codeFixturesPath, 'folder-a', 'MyClassA1.cls')); const targetUri2: vscode.Uri = vscode.Uri.file(path.join(codeFixturesPath, 'folder-a', 'MyClassA2.cls'));