Skip to content

Conversation

AWSHurneyt
Copy link
Collaborator

@AWSHurneyt AWSHurneyt commented Feb 3, 2025

Description

  1. Based on PR sync latest SIGMA rules and stop creation of system indices at node creation #1457, added wait times to some tests to reduce flakiness.
    https://ci.opensearch.org/ci/dbc/integ-test/2.19.0/10772/linux/x64/tar/test-results/9318/integ-test/security-analytics/with-security/opensearch-integ-test/classes/org.opensearch.securityanalytics.alerts.AlertsIT.html#testMultipleAggregationAndDocRules_alertSuccess
  2. Removed some unused imports.

Related Issues

Resolves #[Issue number to be closed when this PR is merged]

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff.
  • Public documentation issue/PR created.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

* Refactored flaky test.

Signed-off-by: AWSHurneyt <[email protected]>

* Refactored test for flakiness.

Signed-off-by: AWSHurneyt <[email protected]>

* Updated tests.

Signed-off-by: AWSHurneyt <[email protected]>

---------

Signed-off-by: AWSHurneyt <[email protected]>
(cherry picked from commit 783167a)
@AWSHurneyt AWSHurneyt merged commit 66de1ae into opensearch-project:main Feb 6, 2025
9 checks passed
@eirsep
Copy link
Member

eirsep commented Feb 6, 2025

I still did not understand why we are adding waits?

this implies a consistency bug in the system
@sbcd90 @AWSHurneyt plz leave a detailed explanation so that we have record of this solution being validated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants