mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-19 04:45:07 -04:00
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
This commit is contained in:
parent
ad0c215369
commit
2e437577d8
1 changed files with 2 additions and 2 deletions
|
@ -641,7 +641,7 @@ public class HeapAttackIT extends ESRestTestCase {
|
|||
}
|
||||
|
||||
public void testLookupExplosion() throws IOException {
|
||||
int sensorDataCount = 500;
|
||||
int sensorDataCount = 400;
|
||||
int lookupEntries = 10000;
|
||||
Map<?, ?> map = lookupExplosion(sensorDataCount, lookupEntries);
|
||||
assertMap(map, matchesMap().extraOk().entry("values", List.of(List.of(sensorDataCount * lookupEntries))));
|
||||
|
@ -653,7 +653,7 @@ public class HeapAttackIT extends ESRestTestCase {
|
|||
}
|
||||
|
||||
public void testLookupExplosionNoFetch() throws IOException {
|
||||
int sensorDataCount = 7500;
|
||||
int sensorDataCount = 7000;
|
||||
int lookupEntries = 10000;
|
||||
Map<?, ?> map = lookupExplosionNoFetch(sensorDataCount, lookupEntries);
|
||||
assertMap(map, matchesMap().extraOk().entry("values", List.of(List.of(sensorDataCount * lookupEntries))));
|
||||
|
|
Loading…
Add table
Reference in a new issue