[Fleet] Improve performance of Fleet preconfiguration integration tests #145988
Labels
Team:Fleet
Team label for Observability Data Collection Fleet team
technical debt
Improvement of the software architecture and operational architecture
Fleet has integration tests that start up an Elasticsearch instance: https://github.com/elastic/kibana/blob/main/x-pack/plugins/fleet/server/integration_tests/reset_preconfiguration.test.ts#L166
These are slow to run on CI, and also slow to run locally to test changes.
Can we improve these by using a common ES instance (that would speed up CI)?
For local development, it would be great to have a way to separately start an ES instance and keep it running while running the tests multiple times (and inspect the contents of indices).
FTR already has these features, is it possible to rewrite these integration tests to run by FTR?
This test is skipped: https://github.com/elastic/kibana/blob/main/x-pack/plugins/fleet/server/integration_tests/cloud_preconfiguration.test.ts#L26
The text was updated successfully, but these errors were encountered: