Skip to content

Commit e688d07

Browse files
committed
test: fix smoke for timeout
1 parent 21e67d3 commit e688d07

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

e2e/tests/workerIdleTimeout.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ describe(`VS Code Extension Testing with ${targetFramework}`, function () {
5656
it('should shutdown the work process after idle timeout was reached', async function () {
5757
await new Promise((resolve) => setTimeout(resolve, 2000))
5858

59-
await expect(workbench).hasExpectedLog(/Worker#0 process shutdown gracefully/)
59+
await expect(workbench).hasExpectedLog(/Worker#1 process shutdown gracefully/)
6060

6161
const bottomBar = workbench.getBottomBar()
6262
const outputView = await bottomBar.openOutputView()
@@ -75,7 +75,7 @@ describe(`VS Code Extension Testing with ${targetFramework}`, function () {
7575
await waitForTestStatus(browser, items[0], STATUS.PASSED)
7676

7777
// assert that start work process
78-
await expect(workbench).hasExpectedLog(/\[#1\] Worker process started successfully/)
78+
await expect(workbench).hasExpectedLog(/\[#2\] Worker process started successfully/)
7979

8080
// assert that run test successfully
8181
await expect(items).toMatchTreeStructure(expected.runAll)

0 commit comments

Comments
 (0)