Skip to content

Commit

Permalink
ESQL: Reenable heap attacks (elastic#121565)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
nik9000 authored and fzowl committed Feb 4, 2025
1 parent e76b9a3 commit c045d82
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
6 changes: 0 additions & 6 deletions muted-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -384,9 +384,6 @@ tests:
- class: org.elasticsearch.xpack.ml.integration.ClassificationIT
method: testDependentVariableIsAliasToNested
issue: https://github.com/elastic/elasticsearch/issues/121415
- class: org.elasticsearch.xpack.esql.heap_attack.HeapAttackIT
method: testLookupExplosionBigStringManyMatches
issue: https://github.com/elastic/elasticsearch/issues/121465
- class: org.elasticsearch.xpack.security.authc.jwt.JwtRealmSingleNodeTests
method: testClientSecretRotation
issue: https://github.com/elastic/elasticsearch/issues/120985
Expand All @@ -396,9 +393,6 @@ tests:
- class: org.elasticsearch.xpack.security.CoreWithSecurityClientYamlTestSuiteIT
method: test {yaml=cluster.health/10_basic/cluster health basic test}
issue: https://github.com/elastic/elasticsearch/issues/121478
- class: org.elasticsearch.xpack.esql.heap_attack.HeapAttackIT
method: testLookupExplosionManyMatches
issue: https://github.com/elastic/elasticsearch/issues/121481
- class: org.elasticsearch.xpack.security.profile.ProfileIntegTests
method: testGetUsersWithProfileUid
issue: https://github.com/elastic/elasticsearch/issues/121483
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,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 @@ -664,7 +665,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 c045d82

Please sign in to comment.