Skip to content

Commit

Permalink
Make endpoint package be installed by default in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jen-huang committed Jun 17, 2021
1 parent a69b64c commit b400b9d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion x-pack/test/security_solution_endpoint/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,11 @@ export default async function ({ readConfigFile }: FtrConfigProviderContext) {
...xpackFunctionalConfig.get('kbnTestServer'),
serverArgs: [
...xpackFunctionalConfig.get('kbnTestServer.serverArgs'),
'--xpack.fleet.enabled=true',
// if you return an empty string here the kibana server will not start properly but an empty array works
...getRegistryUrlAsArray(),
// always install Endpoint package by default when Fleet sets up
`--xpack.fleet.packages.0.name=endpoint`,
`--xpack.fleet.packages.0.version=latest`,
],
},
layout: {
Expand Down
3 changes: 3 additions & 0 deletions x-pack/test/security_solution_endpoint_api_int/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ export default async function ({ readConfigFile }: FtrConfigProviderContext) {
...xPackAPITestsConfig.get('kbnTestServer.serverArgs'),
// if you return an empty string here the kibana server will not start properly but an empty array works
...getRegistryUrlAsArray(),
// always install Endpoint package by default when Fleet sets up
`--xpack.fleet.packages.0.name=endpoint`,
`--xpack.fleet.packages.0.version=latest`,
],
},
};
Expand Down

0 comments on commit b400b9d

Please sign in to comment.