From e5e9c8f854c8706469f1be2022509aff5f5aadf6 Mon Sep 17 00:00:00 2001 From: Nik Everett Date: Thu, 22 May 2025 18:31:21 -0400 Subject: [PATCH] ESQL: Use less data in test (#128337) This test is expected to complete a deeply abusive lookup join without circuit breaking. It was sometimes circuit breaking. This lowers the data we feed to the test so its slightly less abusive. It's still plenty abusive. Closes #127365 --- .../org/elasticsearch/xpack/esql/heap_attack/HeapAttackIT.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 3dbcd14129f63..3ef9aaad98233 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 @@ -653,7 +653,7 @@ public void testLookupExplosionManyMatches() throws IOException { } public void testLookupExplosionNoFetch() throws IOException { - int sensorDataCount = 7000; + int sensorDataCount = 6000; int lookupEntries = 10000; Map map = lookupExplosionNoFetch(sensorDataCount, lookupEntries); assertMap(map, matchesMap().extraOk().entry("values", List.of(List.of(sensorDataCount * lookupEntries))));