Add automated test coverage for service based components #1357
Labels
8.6-candidate
Team:Elastic-Agent-Control-Plane
Label for the Agent Control Plane team
V2-Architecture
This work pairs with #1069 and the implementation PR #1087 to add support from running agent components as separate services.
Currently we only have unit test coverage for this functionality, but considering the importance and cross-platform nature of the feature we should also add integration or end to end tests ensuring the agent binary can start, supervise, and stop services on each major operating system. We should also try to test situations likely to cause problems: killing either the agent or the service it is supervising unexpectedly, uninstalling the agent service, uninstalling the supervised service, upgrading the agent with a supervised service, interrupting the upgrade, etc.
The simplest way to test this is to allow downloading the endpoint-security binary and adding it to the components directory when a service integration test is run (PR discussion.
The text was updated successfully, but these errors were encountered: