Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix RandomSamplerAggregatorTests testAggregationSamplingNestedAggsSca…
…led test failure (#89958) This test indexes 150 documents. In case the test index has a high number of segments, it can happen that no documents get sampled. I think this is expected behaviour in this case. This commit adds a special case for this situation, by expecting other counts to be 0 if sampled doc count is 0 as well. Closes #89818
- Loading branch information