Skip to content

Commit 4c93498

Browse files
author
Siddharth Saladi
committed
timeouts + dropped prev vscode version
1 parent 2e24d2d commit 4c93498

6 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/run-regression-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
matrix:
1414
runtime: [ linux, mac ]
1515
# Removing windows as a standard run flavor runtime: [ linux, mac, windows ]
16-
targetVSCode: [previous, latest ]
16+
targetVSCode: [latest]
1717
buildTool: [maven, gradle]
1818
# As Vscode 1.79 and 1.78 are the only support version for current release, running test with only latest,previous
1919
#Enable it in future for multiple releases as applicable targetVSCode: [ previousMinusOne, previous, latest ]

src/test/Gradle9TestDevModeActions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ describe('Gradle 9-specific devmode action tests', () => {
187187
* Closing the workspace ensures the next test file starts with a clean slate.
188188
*/
189189
after(async function() {
190-
this.timeout(10000);
190+
this.timeout(45000);
191191
await utils.closeWorkspace();
192192
});
193193
});

src/test/GradleTestDevModeActions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ describe('Gradle-specific devmode action tests', () => {
183183
* Closing the workspace ensures the next test file starts with a clean slate.
184184
*/
185185
after(async function() {
186-
this.timeout(10000);
186+
this.timeout(45000);
187187
await utils.closeWorkspace();
188188
});
189189
});

src/test/MavenTestDevModeActions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ describe('Maven-specific devmode action tests', () => {
200200
* The following after hook closes the workspace so the next test file starts with a clean slate.
201201
*/
202202
after(async function() {
203-
this.timeout(10000);
203+
this.timeout(45000);
204204
await utils.closeWorkspace();
205205
});
206206
});

src/test/shared/devModeTestSuite.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export function runDevModeTestSuite(config: DevModeConfig): void {
2424
describe(`Devmode action tests for ${config.buildTool} Project`, () => {
2525

2626
before(async function() {
27-
this.timeout(30000);
27+
this.timeout(60000);
2828

2929
await VSBrowser.instance.openResources(config.getProjectPath());
3030
await VSBrowser.instance.waitForWorkbench();
@@ -33,7 +33,7 @@ export function runDevModeTestSuite(config: DevModeConfig): void {
3333
});
3434

3535
afterEach(async function() {
36-
this.timeout(10000); // Increase timeout for cleanup operations
36+
this.timeout(30000);
3737
// Close any open editors after each test
3838
if (this.currentTest?.state === 'failed') {
3939
await VSBrowser.instance.driver.takeScreenshot();

src/test/utils/testUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ export async function waitForDashboardToLoad(section: any): Promise<void> {
489489
}
490490
return;
491491
}, {
492-
timeout: 120000, // 2 minutes max
492+
timeout: 180000, // 3 minutes max
493493
pollInterval: 5000, // check every 5 seconds
494494
message: 'Dashboard items did not load'
495495
});

0 commit comments

Comments
 (0)