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
This commit is contained in:
Nik Everett 2025-05-22 18:31:21 -04:00 committed by GitHub
parent 1a641e5d65
commit cf1f48e74b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 4 deletions

View file

@ -396,9 +396,6 @@ tests:
- class: org.elasticsearch.xpack.remotecluster.CrossClusterEsqlRCS2EnrichUnavailableRemotesIT
method: testEsqlEnrichWithSkipUnavailable
issue: https://github.com/elastic/elasticsearch/issues/127368
- class: org.elasticsearch.xpack.esql.heap_attack.HeapAttackIT
method: testLookupExplosionNoFetch
issue: https://github.com/elastic/elasticsearch/issues/127365
- class: org.elasticsearch.xpack.test.rest.XPackRestIT
method: test {p0=ml/data_frame_analytics_cat_apis/Test cat data frame analytics all jobs with header}
issue: https://github.com/elastic/elasticsearch/issues/127625

View file

@ -655,7 +655,7 @@ public class HeapAttackIT extends ESRestTestCase {
}
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))));