Skip to content

Commit a7ef2d5

Browse files
committed
Fix InternalCategorizationAggregationTests.testReduceRandom (elastic#135533)
1 parent 8e6defa commit a7ef2d5

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/aggs/categorization/InternalCategorizationAggregationTests.java

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,6 @@ protected SearchPlugin registerPlugin() {
4646
return MachineLearningTests.createTrialLicensedMachineLearning(Settings.EMPTY);
4747
}
4848

49-
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/87240")
50-
public void testReduceRandom() {
51-
// The bug is in the assertReduced() method immediately below that the base class testReduceRandom() calls.
52-
// To unmute after the bug is fixed, simply delete this entire method so that the base class method is used again.
53-
}
54-
5549
@Override
5650
protected void assertReduced(InternalCategorizationAggregation reduced, List<InternalCategorizationAggregation> inputs) {
5751
Map<Object, Long> reducedCounts = toCounts(reduced.getBuckets().stream());
@@ -80,7 +74,7 @@ protected InternalCategorizationAggregation createTestInstance(
8074
name,
8175
randomIntBetween(10, 100),
8276
randomLongBetween(1, 10),
83-
randomIntBetween(1, 100),
77+
randomIntBetween(50, 100),
8478
metadata,
8579
buckets
8680
);

0 commit comments

Comments
 (0)