mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-02 06:21:50 +01:00
Bug fixes
This commit is contained in:
@@ -86,12 +86,11 @@ export function setup(context: TestContext) {
|
||||
}
|
||||
|
||||
async function testServer(entryPoint: string) {
|
||||
const token = Array.from({ length: 10 }, () => Math.floor(Math.random() * 36).toString(36)).join('');
|
||||
const port = String(Math.floor(Math.random() * 7000) + 3000);
|
||||
const token = context.getRandomToken();
|
||||
const test = new UITest(context);
|
||||
const args = [
|
||||
'--accept-server-license-terms',
|
||||
'--port', port,
|
||||
'--port', context.getRandomPort(),
|
||||
'--connection-token', token,
|
||||
'--server-data-dir', context.createTempDir(),
|
||||
'--extensions-dir', test.extensionsDir,
|
||||
|
||||
Reference in New Issue
Block a user