Skip to content

Commit 035f92c

Browse files
Reduce test size
1 parent 49cf607 commit 035f92c

File tree

1 file changed

+2
-4
lines changed
  • test/external-modules/esql-heap-attack/src/javaRestTest/java/org/elasticsearch/xpack/esql/heap_attack

1 file changed

+2
-4
lines changed

test/external-modules/esql-heap-attack/src/javaRestTest/java/org/elasticsearch/xpack/esql/heap_attack/HeapAttackIT.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -586,12 +586,10 @@ public void testFetchTooManyBigFields() throws IOException {
586586
}
587587

588588
public void testStatsOnLargeKeywords() throws IOException {
589-
initVeryLargeText(500, 1, 3_000_000, 1);
589+
initVeryLargeText(500, 1, 2_500_000, 1);
590590
StringBuilder query = startQuery();
591591
query.append("FROM large_text_idx | STATS SUM(LENGTH(large_text0))\"}");
592-
for (int i = 0; i < 5; i++) {
593-
assertCircuitBreaks(attempt -> responseAsMap(query(query.toString(), "columns")));
594-
}
592+
assertCircuitBreaks(attempt -> responseAsMap(query(query.toString(), "columns")));
595593
}
596594

597595
private void initVeryLargeText(int docs, int nFields, int fieldSize, int docsPerBulk) throws IOException {

0 commit comments

Comments
 (0)