Browse Source

[ML] Muting InternalCategorizationAggregationTests testReduceRandom (#88685)

Due to https://github.com/elastic/elasticsearch/issues/87240
David Roberts 3 years ago
parent
commit
e6fbb30bd2

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

@@ -64,6 +64,12 @@ public class InternalCategorizationAggregationTests extends InternalMultiBucketA
         );
     }
 
+    @AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/87240")
+    public void testReduceRandom() {
+        // The bug is in the assertReduced() method immediately below that the base class testReduceRandom() calls.
+        // To unmute after the bug is fixed, simply delete this entire method so that the base class method is used again.
+    }
+
     @Override
     protected void assertReduced(InternalCategorizationAggregation reduced, List<InternalCategorizationAggregation> inputs) {
         Map<Object, Long> reducedCounts = toCounts(reduced.getBuckets().stream());