Skip to content

Commit 7e746ce

Browse files
authored
ESQL: Fix a test oom (#124685)
The test was generating too much data Closes #124330
1 parent 17044d7 commit 7e746ce

File tree

1 file changed

+2
-2
lines changed
  • x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/expression/function/aggregate

1 file changed

+2
-2
lines changed

x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/expression/function/aggregate/ValuesTests.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ public static Iterable<Object[]> parameters() {
5656
// For spatial types, we can have many rows for points, but reduce rows for shapes to avoid circuit breaker
5757
MultiRowTestCaseSupplier.geoPointCases(1, 1000, MultiRowTestCaseSupplier.IncludingAltitude.NO),
5858
MultiRowTestCaseSupplier.cartesianPointCases(1, 1000, MultiRowTestCaseSupplier.IncludingAltitude.NO),
59-
MultiRowTestCaseSupplier.geoShapeCasesWithoutCircle(1, 100, MultiRowTestCaseSupplier.IncludingAltitude.NO),
60-
MultiRowTestCaseSupplier.cartesianShapeCasesWithoutCircle(1, 100, MultiRowTestCaseSupplier.IncludingAltitude.NO)
59+
MultiRowTestCaseSupplier.geoShapeCasesWithoutCircle(1, 20, MultiRowTestCaseSupplier.IncludingAltitude.NO),
60+
MultiRowTestCaseSupplier.cartesianShapeCasesWithoutCircle(1, 20, MultiRowTestCaseSupplier.IncludingAltitude.NO)
6161
).flatMap(List::stream).map(ValuesTests::makeSupplier).collect(Collectors.toCollection(() -> suppliers));
6262

6363
return parameterSuppliersFromTypedDataWithDefaultChecksNoErrors(suppliers, false);

0 commit comments

Comments
 (0)