From 1c5537a13ac92f6ec918020ebde1f81b57998b48 Mon Sep 17 00:00:00 2001 From: Nik Everett Date: Mon, 2 Dec 2024 12:52:52 -0500 Subject: [PATCH] more --- .../xpack/esql/heap_attack/HeapAttackIT.java | 21 +------------------ 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/test/external-modules/esql-heap-attack/src/javaRestTest/java/org/elasticsearch/xpack/esql/heap_attack/HeapAttackIT.java b/test/external-modules/esql-heap-attack/src/javaRestTest/java/org/elasticsearch/xpack/esql/heap_attack/HeapAttackIT.java index 7d422431a8d84..8b9176a346e30 100644 --- a/test/external-modules/esql-heap-attack/src/javaRestTest/java/org/elasticsearch/xpack/esql/heap_attack/HeapAttackIT.java +++ b/test/external-modules/esql-heap-attack/src/javaRestTest/java/org/elasticsearch/xpack/esql/heap_attack/HeapAttackIT.java @@ -314,19 +314,10 @@ public void testHugeManyConcat() throws IOException { */ public void testManyConcatFromRow() throws IOException { int strings = 2000; - initManyLongs(); Response resp = manyConcat("ROW a=9999, b=9999, c=9999, d=9999, e=9999", strings); assertManyStrings(resp, strings); } - /** - * Hits a circuit breaker by building many moderately long strings. - */ - public void testHugeManyConcatFromRow() throws IOException { - // 10000 is too many for the parser - assertCircuitBreaks(() -> manyConcat("ROW a=9999, b=9999, c=9999, d=9999, e=9999", 10000)); - } - /** * Tests that generate many moderately long strings. */ @@ -383,18 +374,8 @@ public void testHugeManyRepeat() throws IOException { */ public void testManyRepeatFromRow() throws IOException { int strings = 10000; - initManyLongs(); Response resp = manyRepeat("ROW a = 99", strings); - assertManyStrings(resp, 30); - } - - /** - * Hits a circuit breaker by building many moderately long strings. - */ - public void testHugeManyRepeatFromRow() throws IOException { - initManyLongs(); - assertCircuitBreaks(() -> manyRepeat("ROW a = 99", 30000)); - // 100000 is too many for the parser + assertManyStrings(resp, strings); } /**