Skip to content

Commit f2657d6

Browse files
authored
Add appropriate capability check to a yaml test (#133495)
These two tests use the TS command, but they don't require the metrics_command capability. I think this is the source of some odd test behavior I'm seeing on another PR, and hopefully adding the required capability will fix it. It shouldn't hurt, at least.
1 parent ad8e490 commit f2657d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/esql/46_downsample.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ setup:
377377
- method: POST
378378
path: /_query
379379
parameters: []
380-
capabilities: [aggregate_metric_double_implicit_casting_in_aggs]
380+
capabilities: [metrics_command, aggregate_metric_double_implicit_casting_in_aggs]
381381
reason: "Support for casting aggregate metric double implicitly when present in aggregations"
382382

383383
- do:
@@ -499,7 +499,7 @@ setup:
499499
- method: POST
500500
path: /_query
501501
parameters: []
502-
capabilities: [aggregate_metric_double_implicit_casting_in_aggs]
502+
capabilities: [metrics_command, aggregate_metric_double_implicit_casting_in_aggs]
503503
reason: "Support for casting aggregate metric double implicitly when present in aggregations"
504504

505505
- do:

0 commit comments

Comments
 (0)