-
Notifications
You must be signed in to change notification settings - Fork 358
[Test] SearchOperationTest is flaky #3426
Copy link
Copy link
Closed
Labels
flaky-testFlaky Test issueFlaky Test issuegood first issueThese are recommended starting points for newcomers looking to make their first contributions.These are recommended starting points for newcomers looking to make their first contributions.triagedIssues labeled as 'Triaged' have been reviewed and are deemed actionable.Issues labeled as 'Triaged' have been reviewed and are deemed actionable.
Description
Description
- There are many tests that use audit log validation of scenarios and it seems either the number of requests is not always consistent
- There are many tests that use reindexing and it looks like the operation isn't being confirmed as completed before the tests continue
- There are many tests that use alias creation / clean up and it seems resolution on these actions is not completing before the tests continue causing issues.
Repo
- Go to
src/integrationTest/java/org/opensearch/security/SearchOperationTest.java - Find the
@Ignoremany tests in this class - Delete that attribute
- Run the tests with
./gradlew integrationTest --tests org.opensearch.security.SearchOperationTest
Exit Criteria
- Find the root cause(s) of the audit log mismatches, all audit log data should expect exact counts, or have a deterministic function to calculate the count based on number of requests, etc.
- Find the root cause of the reindexing issues, add a deterministic process to be sure this has completed, note; this could involve a product fix
- Find the root cause of the aliases issues, add a deterministic process to be sure this has completed, note; this could involve a product fix
- Run the test at least 10 times and see no failures - how to do this
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
flaky-testFlaky Test issueFlaky Test issuegood first issueThese are recommended starting points for newcomers looking to make their first contributions.These are recommended starting points for newcomers looking to make their first contributions.triagedIssues labeled as 'Triaged' have been reviewed and are deemed actionable.Issues labeled as 'Triaged' have been reviewed and are deemed actionable.