Skip to content

Commit

Permalink
NEW (Extension) @W-15640497@ Increase test timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
jag-j committed Sep 16, 2024
1 parent e3119ae commit e8de54b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/test/suite/extension.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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'));

Expand Down Expand Up @@ -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'));
Expand Down

0 comments on commit e8de54b

Please sign in to comment.