[e2e] Add tests for self monitoring agent logs in otel mode#6801
[e2e] Add tests for self monitoring agent logs in otel mode#6801khushijain21 merged 76 commits intoelastic:mainfrom
Conversation
|
This pull request is now in conflicts. Could you fix it? 🙏 |
|
This pull request does not have a backport label. Could you fix it @khushijain21? 🙏
|
c45b743 to
cdda948
Compare
|
The The failure - cc: @elastic/ingest-eng-prod |
The check for and elastic-agent/pkg/testing/define/batch.go Line 81 in b011c25 The check itself is defined here Line 1951 in b011c25 and it parses the integration tests directory for *_test.go files containing Test* functions and validating that the first statement in the ast is a define.Require call
Your PR is not passing this check since the Maybe @blakerouse as the original implementer of the check and the batching may have another solution. |
|
Add-on to my previous comment: after chatting with @khushijain21 it seems that the only difference between the 2 sub-tests is that this subtest must not be run on windows. The same thing can be achieved by using a single |
b19e47e to
e6051ff
Compare
|
💚 CLA has been signed |
395a0e1 to
eec0aeb
Compare
⏳ Build in-progress, with failures
Failed CI StepsHistory
|
|
- Add tests for self monitoring agent logs in otel mode (cherry picked from commit 931134f) # Conflicts: # testing/integration/beat_receivers_test.go
- Add tests for self monitoring agent logs in otel mode (cherry picked from commit 931134f) # Conflicts: # testing/integration/beat_receivers_test.go
- Add tests for self monitoring agent logs in otel mode





What does this PR do?
It adds tests for comparing docs ingested by
agent.monitoringvs otel.ymlNotes:
Some changes made to otel.yml produced by hand here:
Checklist
./changelog/fragmentsusing the changelog toolHow to test this PR locally
Related issues