-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Entity Analytics]Integration test cleanup #168869
Conversation
When logged as errors, these distract from the results of the tests. In things we call a lot, indiscriminately (like clearLegacyTransforms) this causes a lot of noise.
This simply consolidates a bunch of various "cleanup" functions that we were calling inconsistently into a single function. It's meant to be called before and after every test using the risk engine, which this commit also does.
These issues will get auto-reopened if/when the test fails again; until they do, and the tests are manually/automatically skipped (at which point they could have this reference manually/automatically added back), these are just noise.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for the improvements!
@rylnd we also have conflicts, because some test was skipped, I suggest merging this PR, and in @WafaaNasr PR we can try figure out why it's flakky |
Conflicts: x-pack/test/detection_engine_api_integration/security_and_spaces/group10/risk_engine/init_and_status_apis.ts
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]
History
To update your PR or re-run it, just comment with: cc @rylnd |
Summary
Followup to some recent work to improve test reliability (namely #168469):