Skip to content

Commit

Permalink
Add Endpoint to be installed by default on Fleet tests too
Browse files Browse the repository at this point in the history
  • Loading branch information
jen-huang committed Jun 17, 2021
1 parent 7142778 commit 1e46532
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions x-pack/test/fleet_api_integration/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ export default async function ({ readConfigFile }: FtrConfigProviderContext) {
...xPackAPITestsConfig.get('kbnTestServer'),
serverArgs: [
...xPackAPITestsConfig.get('kbnTestServer.serverArgs'),
// always install Endpoint package by default when Fleet sets up
`--xpack.fleet.packages.0.name=endpoint`,
`--xpack.fleet.packages.0.version=latest`,
...(registryPort ? [`--xpack.fleet.registryUrl=http://localhost:${registryPort}`] : []),
],
},
Expand Down

0 comments on commit 1e46532

Please sign in to comment.