Closed reta closed 2 weeks ago
@sandeshkr419 could you please take a look? I suspect it caused by https://github.com/opensearch-project/OpenSearch/pull/11643, thank you
Thanks for bringing this up @reta. I have raised PR https://github.com/opensearch-project/OpenSearch/pull/12643 for the fix now.
@sandeshkr419 do you want to take a look again?
I was not able to reproduce it but looks like it may be that more than 1 segment are created during document addition in the index. Let me revisit this and see if I can make the index creation part a bit more strict or change some assertions.
Describe the bug
The test case org.opensearch.search.aggregations.bucket.terms.TermsAggregatorTests.testSimpleAggregationLowCardinality is flaky:
Related component
Search:Aggregations
To Reproduce
Expected behavior
The test must always pass
Additional Details
Plugins Standard
Screenshots If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):
Additional context