Skip to content

Commit 7cb125b

Browse files
authored
Fix one YAML test (elastic#138977)
The test requries a capability guard.
1 parent c3a3f24 commit 7cb125b

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

muted-tests.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -325,9 +325,6 @@ tests:
325325
- class: org.elasticsearch.xpack.inference.DefaultEndPointsIT
326326
method: testMultipleInferencesTriggeringDownloadAndDeploy
327327
issue: https://github.com/elastic/elasticsearch/issues/117208
328-
- class: org.elasticsearch.xpack.esql.qa.mixed.EsqlClientYamlIT
329-
method: test {p0=esql/40_tsdb/error on rename timestamp}
330-
issue: https://github.com/elastic/elasticsearch/issues/137259
331328
- class: org.elasticsearch.readiness.ReadinessClusterIT
332329
method: testReadinessDuringRestartsNormalOrder
333330
issue: https://github.com/elastic/elasticsearch/issues/136955

x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/esql/40_tsdb.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -846,7 +846,9 @@ error on rename timestamp:
846846
- method: POST
847847
path: /_query
848848
parameters: [ ]
849-
capabilities: [ ts_command_v0, ts_rename_timestamp_error_message ]
849+
# inline_stats_with_no_columns is a stand-in for a missed capability that should have been introduced along with the
850+
# TimestampAware interface. This capability is the first one added past #137040.
851+
capabilities: [ ts_command_v0, ts_rename_timestamp_error_message, inline_stats_with_no_columns ]
850852
reason: "TS specific check"
851853

852854
- do:

0 commit comments

Comments
 (0)