Skip to content

Commit 410bb4f

Browse files
nik9000alex-spies
andauthored
ESQL: Reenable heap attacks (elastic#121565) (elastic#121575)
* ESQL: Reenable heap attacks (elastic#121565) Reenables some heap attack tests, bumping their memory requirements to try and force a failure on all CI machines. Previously some CI machines weren't failing, invalidating the test on those machines. Close elastic#121481 Close elastic#121465 * Unmute --------- Co-authored-by: Alexander Spies <[email protected]>
1 parent aced42f commit 410bb4f

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

muted-tests.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -545,9 +545,6 @@ tests:
545545
issue: https://github.com/elastic/elasticsearch/issues/121179
546546
- class: org.elasticsearch.xpack.application.CohereServiceUpgradeIT
547547
issue: https://github.com/elastic/elasticsearch/issues/121537
548-
- class: org.elasticsearch.xpack.esql.heap_attack.HeapAttackIT
549-
method: testLookupExplosionBigStringManyMatches
550-
issue: https://github.com/elastic/elasticsearch/issues/121465
551548
- class: org.elasticsearch.smoketest.DocsClientYamlTestSuiteIT
552549
method: test {yaml=reference/snapshot-restore/apis/get-snapshot-api/line_488}
553550
issue: https://github.com/elastic/elasticsearch/issues/121611

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,8 @@ public void testLookupExplosion() throws IOException {
635635

636636
public void testLookupExplosionManyMatches() throws IOException {
637637
assertCircuitBreaks(() -> {
638-
Map<?, ?> result = lookupExplosion(1500, 10000);
638+
// 1500, 10000 is enough locally, but some CI machines need more.
639+
Map<?, ?> result = lookupExplosion(2000, 10000);
639640
logger.error("should have failed but got {}", result);
640641
});
641642
}
@@ -663,7 +664,8 @@ public void testLookupExplosionBigString() throws IOException {
663664

664665
public void testLookupExplosionBigStringManyMatches() throws IOException {
665666
assertCircuitBreaks(() -> {
666-
Map<?, ?> result = lookupExplosionBigString(500, 1);
667+
// 500, 1 is enough to make it fail locally but some CI needs more
668+
Map<?, ?> result = lookupExplosionBigString(800, 1);
667669
logger.error("should have failed but got {}", result);
668670
});
669671
}

0 commit comments

Comments
 (0)