Skip to content

Commit 2b07bd6

Browse files
committed
ESQL: Unmute test
It was assuming a simpler execution model. This weakens the assertion to one that should always pass. Closes #127046
1 parent 69f6520 commit 2b07bd6

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

muted-tests.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -414,9 +414,6 @@ tests:
414414
- class: org.elasticsearch.repositories.blobstore.testkit.analyze.RepositoryAnalysisFailureIT
415415
method: testFailsOnReadError
416416
issue: https://github.com/elastic/elasticsearch/issues/127029
417-
- class: org.elasticsearch.xpack.test.rest.XPackRestIT
418-
method: test {p0=esql/10_basic/basic with documents_found}
419-
issue: https://github.com/elastic/elasticsearch/issues/127039
420417
- class: org.elasticsearch.xpack.esql.qa.multi_node.EsqlSpecIT
421418
method: test {rerank.Reranker before a limit ASYNC}
422419
issue: https://github.com/elastic/elasticsearch/issues/127051

x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/esql/10_basic.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,8 @@ basic with documents_found:
197197
query: 'from test | keep data | sort data | limit 2'
198198
columnar: true
199199

200-
- match: {documents_found: 10} # two documents per shard
201-
- match: {values_loaded: 10} # one per document
200+
- gte: {documents_found: 2} # we might early terminate, so the most we can assume is >=2
201+
- gte: {values_loaded: 2} # same as above
202202
- match: {columns.0.name: "data"}
203203
- match: {columns.0.type: "long"}
204204
- match: {values.0: [1, 1]}

0 commit comments

Comments
 (0)