Rewrite the beats receiver log test using common tooling#10153
Merged
Rewrite the beats receiver log test using common tooling#10153
Conversation
546ed7b to
3b13168
Compare
|
8 tasks
dbffc8e to
437c77c
Compare
Contributor
|
Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane) |
3 tasks
ycombinator
reviewed
Oct 8, 2025
ycombinator
reviewed
Oct 8, 2025
ycombinator
reviewed
Oct 8, 2025
ycombinator
reviewed
Oct 8, 2025
ycombinator
previously approved these changes
Oct 8, 2025
Contributor
ycombinator
left a comment
There was a problem hiding this comment.
Just left a couple of minor suggestions/nits. LGTM.
ycombinator
previously approved these changes
Oct 8, 2025
3c5f870 to
a976a35
Compare
Co-authored-by: Shaunak Kashyap <ycombinator@gmail.com>
Co-authored-by: Shaunak Kashyap <ycombinator@gmail.com>
Co-authored-by: Shaunak Kashyap <ycombinator@gmail.com>
8f70b49 to
f830251
Compare
Contributor
💛 Build succeeded, but was flaky
Failed CI StepsHistory
cc @swiatekm |
ycombinator
approved these changes
Oct 10, 2025
Contributor
|
@Mergifyio backport 8.18 8.19 9.0 9.1 9.2 |
Contributor
✅ Backports have been createdDetails
|
mergify bot
pushed a commit
that referenced
this pull request
Oct 11, 2025
* Rewrite the beats receiver log test using common tooling * Expect the outputs to be degraded * Relax checks * Fix assertion * Apply suggestion from @ycombinator Co-authored-by: Shaunak Kashyap <ycombinator@gmail.com> * Apply suggestion from @ycombinator Co-authored-by: Shaunak Kashyap <ycombinator@gmail.com> * Apply suggestion from @ycombinator Co-authored-by: Shaunak Kashyap <ycombinator@gmail.com> * Switch assert to required * Fix constants --------- Co-authored-by: Shaunak Kashyap <ycombinator@gmail.com> (cherry picked from commit 71ece0d) # Conflicts: # testing/integration/ess/beat_receivers_test.go
4 tasks
mergify bot
pushed a commit
that referenced
this pull request
Oct 11, 2025
* Rewrite the beats receiver log test using common tooling * Expect the outputs to be degraded * Relax checks * Fix assertion * Apply suggestion from @ycombinator Co-authored-by: Shaunak Kashyap <ycombinator@gmail.com> * Apply suggestion from @ycombinator Co-authored-by: Shaunak Kashyap <ycombinator@gmail.com> * Apply suggestion from @ycombinator Co-authored-by: Shaunak Kashyap <ycombinator@gmail.com> * Switch assert to required * Fix constants --------- Co-authored-by: Shaunak Kashyap <ycombinator@gmail.com> (cherry picked from commit 71ece0d)
4 tasks
mergify bot
pushed a commit
that referenced
this pull request
Oct 11, 2025
* Rewrite the beats receiver log test using common tooling * Expect the outputs to be degraded * Relax checks * Fix assertion * Apply suggestion from @ycombinator Co-authored-by: Shaunak Kashyap <ycombinator@gmail.com> * Apply suggestion from @ycombinator Co-authored-by: Shaunak Kashyap <ycombinator@gmail.com> * Apply suggestion from @ycombinator Co-authored-by: Shaunak Kashyap <ycombinator@gmail.com> * Switch assert to required * Fix constants --------- Co-authored-by: Shaunak Kashyap <ycombinator@gmail.com> (cherry picked from commit 71ece0d) # Conflicts: # testing/integration/ess/beat_receivers_test.go
4 tasks
mergify bot
pushed a commit
that referenced
this pull request
Oct 11, 2025
* Rewrite the beats receiver log test using common tooling * Expect the outputs to be degraded * Relax checks * Fix assertion * Apply suggestion from @ycombinator Co-authored-by: Shaunak Kashyap <ycombinator@gmail.com> * Apply suggestion from @ycombinator Co-authored-by: Shaunak Kashyap <ycombinator@gmail.com> * Apply suggestion from @ycombinator Co-authored-by: Shaunak Kashyap <ycombinator@gmail.com> * Switch assert to required * Fix constants --------- Co-authored-by: Shaunak Kashyap <ycombinator@gmail.com> (cherry picked from commit 71ece0d) # Conflicts: # testing/integration/ess/beat_receivers_test.go
4 tasks
mergify bot
pushed a commit
that referenced
this pull request
Oct 11, 2025
* Rewrite the beats receiver log test using common tooling * Expect the outputs to be degraded * Relax checks * Fix assertion * Apply suggestion from @ycombinator Co-authored-by: Shaunak Kashyap <ycombinator@gmail.com> * Apply suggestion from @ycombinator Co-authored-by: Shaunak Kashyap <ycombinator@gmail.com> * Apply suggestion from @ycombinator Co-authored-by: Shaunak Kashyap <ycombinator@gmail.com> * Switch assert to required * Fix constants --------- Co-authored-by: Shaunak Kashyap <ycombinator@gmail.com> (cherry picked from commit 71ece0d)
4 tasks
swiatekm
added a commit
that referenced
this pull request
Oct 11, 2025
…0508) * Rewrite the beats receiver log test using common tooling * Expect the outputs to be degraded * Relax checks * Fix assertion * Apply suggestion from @ycombinator * Apply suggestion from @ycombinator * Apply suggestion from @ycombinator * Switch assert to required * Fix constants --------- (cherry picked from commit 71ece0d) Co-authored-by: Mikołaj Świątek <mail@mikolajswiatek.com> Co-authored-by: Shaunak Kashyap <ycombinator@gmail.com>
swiatekm
added a commit
that referenced
this pull request
Oct 13, 2025
…0505) * Rewrite the beats receiver log test using common tooling * Expect the outputs to be degraded * Relax checks * Fix assertion * Apply suggestion from @ycombinator * Apply suggestion from @ycombinator * Apply suggestion from @ycombinator * Switch assert to required * Fix constants --------- (cherry picked from commit 71ece0d) Co-authored-by: Mikołaj Świątek <mail@mikolajswiatek.com> Co-authored-by: Shaunak Kashyap <ycombinator@gmail.com>
hayotbisonai
pushed a commit
to hayotbisonai/elastic-agent
that referenced
this pull request
Nov 23, 2025
* Rewrite the beats receiver log test using common tooling * Expect the outputs to be degraded * Relax checks * Fix assertion * Apply suggestion from @ycombinator Co-authored-by: Shaunak Kashyap <ycombinator@gmail.com> * Apply suggestion from @ycombinator Co-authored-by: Shaunak Kashyap <ycombinator@gmail.com> * Apply suggestion from @ycombinator Co-authored-by: Shaunak Kashyap <ycombinator@gmail.com> * Switch assert to required * Fix constants --------- Co-authored-by: Shaunak Kashyap <ycombinator@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.





What does this PR do?
Re-enables the integration test for comparing logs between beats processes and beats receivers and rewrites it to use normal integration test tooling, making it simpler and more observable:
elastic-agent logsinstead of capturing agent output directly.Why is it important?
This test should be enabled and reliable.
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 toolRelated issues