Skip to content

Commit

Permalink
[7.11] [test/functional_cors] 9000 is sometimes in use, make getPort …
Browse files Browse the repository at this point in the history
…random (elastic#87050) (elastic#87067)

Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: spalger <spalger@users.noreply.github.com>
  • Loading branch information
Spencer and spalger committed Dec 30, 2020
1 parent 2f807d3 commit bb12138
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/test/functional_cors/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default async function ({ readConfigFile }: FtrConfigProviderContext) {
};

const { protocol, hostname } = kbnTestConfig.getUrlParts();
const pluginPort = await getPort({ port: 9000 });
const pluginPort = await getPort();
const originUrl = Url.format({
protocol,
hostname,
Expand Down

0 comments on commit bb12138

Please sign in to comment.