-
Notifications
You must be signed in to change notification settings - Fork 198
[9.1] (backport #10717) Make all beats receiver integration tests use standard tools #10720
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
base: 9.1
Are you sure you want to change the base?
Conversation
This way, the tests generate diagnostics and ensure agent is not running after test failure. (cherry picked from commit 020adf8) # Conflicts: # testing/integration/ess/beat_receivers_test.go
|
Cherry-pick of 020adf8 has failed: To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally |
|
Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane) |
|
We do see this test failing in 9.1 https://buildkite.com/elastic/elastic-agent-extended-testing/builds/10840 Why did we not backport this? |
It had annoying conflicts and #10759 addressed the breakage anyway. But maybe it's worth it for consistency's sake? Let me have a look. |
|
#10507 needs to go in first. |
What does this PR do?
Makes the remaining beats receiver integration tests install agent using the standard test fixture, rather than running the command directly.
Why is it important?
This way, the fixture takes care of stopping and uninstalling agent if the test fails, as well as collecting diagnostics.
Checklist
[ ] I have made corresponding changes to the documentation[ ] I have made corresponding change to the default configuration files[ ] I have added tests that prove my fix is effective or that my feature works[ ] I have added an entry in./changelog/fragmentsusing the changelog tool[ ] I have added an integration test or an E2E testRelated issues
TestAgentMetricsInput/otel–Condition never satisfied#10713 and [Flaky Test]: TestAgentMetricsInput - ignored field "event.ingested" does not exist in either map #8486This is an automatic backport of pull request #10717 done by [Mergify](https://mergify.com).