Skip to content

Commit 5b351af

Browse files
authored
ESQL: Unmute test (#127065)
It was assuming a simpler execution model. This weakens the assertion to one that should always pass. Closes #127046 Closes #127039 Closes #127090 Closes #127080
1 parent 1234f97 commit 5b351af

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
@@ -411,9 +411,6 @@ tests:
411411
- class: org.elasticsearch.packaging.test.DockerTests
412412
method: test024InstallPluginFromArchiveUsingConfigFile
413413
issue: https://github.com/elastic/elasticsearch/issues/126936
414-
- class: org.elasticsearch.xpack.test.rest.XPackRestIT
415-
method: test {p0=esql/10_basic/basic with documents_found}
416-
issue: https://github.com/elastic/elasticsearch/issues/127039
417414
- class: org.elasticsearch.xpack.esql.qa.multi_node.EsqlSpecIT
418415
method: test {rerank.Reranker before a limit ASYNC}
419416
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)