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

[Detection Engine] Limit the scope of an exceptions integration test #193228

Closed
wants to merge 1 commit into from

Conversation

rylnd
Copy link
Contributor

@rylnd rylnd commented Sep 17, 2024

Summary

The hope here is that this fixes some flakiness in the test, by restricting the alerts being asserted upon to only those created within the test (via filtering on the created rule's ID). Surrounding tests do this, and it seems likely that the failure
(#181887) was caused by a previous test's alerts being present during this test.

The hope here is that this fixes some flakiness in the test, by
restricting the alerts being asserted upon to only those created within
the test (via filtering on the created rule's ID). Surrounding tests do
this, and it seems likely that the failure
(elastic#181887) was caused by a
previous test's alerts being present during this test.
@rylnd rylnd added release_note:skip Skip the PR/issue when compiling release notes test-api-integration Team:Detection Engine Security Solution Detection Engine Area testing Issues related to tests. labels Sep 17, 2024
@rylnd rylnd self-assigned this Sep 17, 2024
@rylnd rylnd requested a review from a team as a code owner September 17, 2024 21:52
@rylnd rylnd requested a review from nkhristinin September 17, 2024 21:52
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-detection-engine (Team:Detection Engine)

@rylnd
Copy link
Contributor Author

rylnd commented Sep 17, 2024

Closing this, as this change is unnecessary. getOpenAlerts ultimately calls getAlertsbyIds.

@rylnd rylnd closed this Sep 17, 2024
@rylnd rylnd deleted the limit_scope_of_exceptions_test branch September 17, 2024 22:01
@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

✅ unchanged

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @rylnd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:skip Skip the PR/issue when compiling release notes Team:Detection Engine Security Solution Detection Engine Area test-api-integration testing Issues related to tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants