Skip to content

Commit ca61a42

Browse files
committed
web smoke test: bump up port number
1 parent a44611d commit ca61a42

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/automation/src/playwrightDriver.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ function timeout(ms: number): Promise<void> {
9191
return new Promise<void>(r => setTimeout(r, ms));
9292
}
9393

94+
let port = 9000;
9495
let server: ChildProcess | undefined;
9596
let endpoint: string | undefined;
9697
let workspacePath: string | undefined;
@@ -109,7 +110,7 @@ export async function launch(userDataDir: string, _workspacePath: string, codeSe
109110
const root = join(__dirname, '..', '..', '..');
110111
const logsPath = join(root, '.build', 'logs', 'smoke-tests-browser');
111112

112-
const args = ['--browser', 'none', '--driver', 'web', '--extensions-dir', extPath];
113+
const args = ['--port', `${port++}`, '--browser', 'none', '--driver', 'web', '--extensions-dir', extPath];
113114

114115
let serverLocation: string | undefined;
115116
if (codeServerPath) {

0 commit comments

Comments
 (0)