Skip to content

Commit 071c803

Browse files
authored
Fix one YAML test (elastic#138977) (elastic#139050)
The test requries a capability guard. (cherry picked from commit 7cb125b)
1 parent c54d70b commit 071c803

File tree

1 file changed

+3
-1
lines changed
  • x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/esql

1 file changed

+3
-1
lines changed

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)