Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor/Expand elastic-agent diagnostics integration tests #4384

Open
pchila opened this issue Mar 8, 2024 · 2 comments
Open

Refactor/Expand elastic-agent diagnostics integration tests #4384

pchila opened this issue Mar 8, 2024 · 2 comments
Labels
Team:Elastic-Agent Label for the Agent team Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team Testing

Comments

@pchila
Copy link
Member

pchila commented Mar 8, 2024

As demonstrated by #4376, the current diagnostics test does not cover enough of elastic-agent diagnostics functionality: the current tests run the elastic-agent diagnostics command with fake components and without installing agent.

We need add testing for collecting diagnostic bundles from an installed agent running with real components (ideally we should also include endpoint or some other service component) and verify that we collect all the expected files.

Optional: we can think of testing also triggering the diagnostics using Fleet API and then download the archives from there.

@pchila pchila added Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team Team:Elastic-Agent Label for the Agent team Testing labels Mar 8, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane)

@elasticmachine
Copy link
Contributor

Pinging @elastic/elastic-agent (Team:Elastic-Agent)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Elastic-Agent Label for the Agent team Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team Testing
Projects
None yet
Development

No branches or pull requests

2 participants