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 a71c3b5a6674f..d0b06942c1348 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 @@ -635,7 +635,8 @@ public void testLookupExplosion() throws IOException { public void testLookupExplosionManyMatches() throws IOException { assertCircuitBreaks(() -> { - Map result = lookupExplosion(1500, 10000); + // 1500, 10000 is enough locally, but some CI machines need more. + Map result = lookupExplosion(2000, 10000); logger.error("should have failed but got {}", result); }); } @@ -663,7 +664,8 @@ public void testLookupExplosionBigString() throws IOException { public void testLookupExplosionBigStringManyMatches() throws IOException { assertCircuitBreaks(() -> { - Map result = lookupExplosionBigString(500, 1); + // 500, 1 is enough to make it fail locally but some CI needs more + Map result = lookupExplosionBigString(800, 1); logger.error("should have failed but got {}", result); }); }