mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
add worker index to port number, rather than concatenating with it
This commit is contained in:
parent
a7352489e7
commit
351eaaf5f0
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ export async function RemoteProvider({ getService }) {
|
|||
let browserDriverUrl = config.get(browserType + 'driver.url');
|
||||
if (process.env.PARALLEL_PIPELINE_WORKER_INDEX) {
|
||||
const parsedUrl = new URL(browserDriverUrl);
|
||||
parsedUrl.port = `4444${process.env.PARALLEL_PIPELINE_WORKER_INDEX}`;
|
||||
parsedUrl.port = 4444 + Number.parseInt(process.env.PARALLEL_PIPELINE_WORKER_INDEX);
|
||||
browserDriverUrl = parsedUrl.href;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue