Skip to content

Commit

Permalink
ESQL: Reenable heap attacks (#121565) (#121575)
Browse files Browse the repository at this point in the history
* ESQL: Reenable heap attacks (#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 #121481 Close #121465

* Unmute

---------

Co-authored-by: Alexander Spies <[email protected]>
  • Loading branch information
nik9000 and alex-spies authored Feb 4, 2025
1 parent aced42f commit 410bb4f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 0 additions & 3 deletions muted-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -545,9 +545,6 @@ tests:
issue: https://github.com/elastic/elasticsearch/issues/121179
- class: org.elasticsearch.xpack.application.CohereServiceUpgradeIT
issue: https://github.com/elastic/elasticsearch/issues/121537
- class: org.elasticsearch.xpack.esql.heap_attack.HeapAttackIT
method: testLookupExplosionBigStringManyMatches
issue: https://github.com/elastic/elasticsearch/issues/121465
- class: org.elasticsearch.smoketest.DocsClientYamlTestSuiteIT
method: test {yaml=reference/snapshot-restore/apis/get-snapshot-api/line_488}
issue: https://github.com/elastic/elasticsearch/issues/121611
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
}
Expand Down Expand Up @@ -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);
});
}
Expand Down

0 comments on commit 410bb4f

Please sign in to comment.