-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Fix flaky test AggregationsTests.testFromXContent #5285
Conversation
Based on the seed, the recursive createTestInstance method generates too many aggregations resulting in an exception. This change reduces the number of generated aggregations. Signed-off-by: Rabi Panda <adnapibar@gmail.com>
Gradle Check (Jenkins) Run Completed with:
|
Is this usage of createTestInstance() susceptible to the same problem? |
|
This test doesn't fail for too many aggregations |
Based on the seed, the recursive createTestInstance method generates too many aggregations resulting in an exception. This change reduces the number of generated aggregations. Signed-off-by: Rabi Panda <adnapibar@gmail.com> (cherry picked from commit 1bb29e7) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Based on the seed, the recursive createTestInstance method generates too many aggregations resulting in an exception. This change reduces the number of generated aggregations. Signed-off-by: Rabi Panda <adnapibar@gmail.com> (cherry picked from commit 1bb29e7) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Signed-off-by: Rabi Panda <adnapibar@gmail.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Description
Based on the seed, the recursive
createTestInstance
method generates too many aggregations resulting in an exception. This change reduces the number of generated aggregations.Issues Resolved
#4969
Check List
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.
Signed-off-by: Rabi Panda adnapibar@gmail.com