Skip to content

Commit 93d08aa

Browse files
ES|QL: reduce max limit in generative tests (#137006)
1 parent d0555e5 commit 93d08aa

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

muted-tests.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -525,9 +525,6 @@ tests:
525525
- class: org.elasticsearch.xpack.inference.qa.mixed.CohereServiceMixedIT
526526
method: testRerank
527527
issue: https://github.com/elastic/elasticsearch/issues/136872
528-
- class: org.elasticsearch.xpack.esql.qa.single_node.GenerativeIT
529-
method: test
530-
issue: https://github.com/elastic/elasticsearch/issues/136850
531528
- class: org.elasticsearch.xpack.inference.qa.mixed.CohereServiceMixedIT
532529
method: testCohereEmbeddings
533530
issue: https://github.com/elastic/elasticsearch/issues/136779

x-pack/plugin/esql/qa/testFixtures/src/main/java/org/elasticsearch/xpack/esql/generator/command/pipe/LimitGenerator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public CommandDescription generate(
2828
QuerySchema schema,
2929
QueryExecutor executor
3030
) {
31-
int limit = randomIntBetween(0, 15000);
31+
int limit = randomIntBetween(0, 2000);
3232
String cmd = " | limit " + limit;
3333
return new CommandDescription(LIMIT, this, cmd, Map.ofEntries(Map.entry(LIMIT, limit)));
3434
}

0 commit comments

Comments
 (0)