Skip to content

Commit

Permalink
revert timeouts to old value
Browse files Browse the repository at this point in the history
  • Loading branch information
jag-j committed Sep 19, 2024
1 parent 75f645f commit cccc728
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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(180000);
this.timeout(90000);
// 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(180000);
this.timeout(60000);
// 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(180000);
this.timeout(60000);
// 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
2 changes: 1 addition & 1 deletion src/test/suite/scanner.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ suite('ScanRunner', () => {
let context: vscode.ExtensionContext;

suiteSetup(async function () {
this.timeout(60000);
this.timeout(10000);
// Activate the extension.
context = await ext.activate();
});
Expand Down

0 comments on commit cccc728

Please sign in to comment.