-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[BUG] org.opensearch.client.indices.GetIndexTemplatesResponseTests.testParsingFromOpenSearchResponse is flaky #6739
Comments
The fields in the metadata being parsed in this test are randomly generated using The test failed on run 12,469, which seems in line with this expectation. We'll probably get another failure in a few years. To me this seems like an acceptable level of flakiness, and if this failure has only been seen once I'm fine with closing this issue as a wontfix. Other options:
|
No other occurrences of this failure in previous 2500 runs, closed as "not flaky enough" |
@dbwiddis Is this fix as simple as preventing duplicate keys in this helper method? If so, I'd be inclined to do that fix. |
Yes, for this specific failure. I also think there's a potential collision with the alias metadata in this line. I'll go ahead and submit the fix(es). |
Describe the bug
To Reproduce
See please https://build.ci.opensearch.org/job/gradle-check/12469/testReport/junit/org.opensearch.client.indices/GetIndexTemplatesResponseTests/testParsingFromOpenSearchResponse/
Expected behavior
The test should always pass
Plugins
Standard
Screenshots
If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: