Skip to content

Commit 2e43757

Browse files
authoredApr 15, 2025
ESQL: Create fewer documents in lookup tests (#126874)
This lowers the number of documents used to test lookup because we have a few failures over the last few months. These are all cases that we expect to *pass* so fewer documents should make them even more likely to pass. Closes #125913 Closes #125779
1 parent ad0c215 commit 2e43757

File tree

1 file changed

+2
-2
lines changed
  • test/external-modules/esql-heap-attack/src/javaRestTest/java/org/elasticsearch/xpack/esql/heap_attack

1 file changed

+2
-2
lines changed
 

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@ private Map<String, Object> fetchMvLongs() throws IOException {
641641
}
642642

643643
public void testLookupExplosion() throws IOException {
644-
int sensorDataCount = 500;
644+
int sensorDataCount = 400;
645645
int lookupEntries = 10000;
646646
Map<?, ?> map = lookupExplosion(sensorDataCount, lookupEntries);
647647
assertMap(map, matchesMap().extraOk().entry("values", List.of(List.of(sensorDataCount * lookupEntries))));
@@ -653,7 +653,7 @@ public void testLookupExplosionManyMatches() throws IOException {
653653
}
654654

655655
public void testLookupExplosionNoFetch() throws IOException {
656-
int sensorDataCount = 7500;
656+
int sensorDataCount = 7000;
657657
int lookupEntries = 10000;
658658
Map<?, ?> map = lookupExplosionNoFetch(sensorDataCount, lookupEntries);
659659
assertMap(map, matchesMap().extraOk().entry("values", List.of(List.of(sensorDataCount * lookupEntries))));

0 commit comments

Comments
 (0)