Skip to content

Commit

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

Co-authored-by: spalger <spalger@users.noreply.github.com>
  • Loading branch information
Spencer and spalger committed Dec 30, 2020
1 parent b6a0554 commit c964177
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 c964177

Please sign in to comment.