Skip to content

Commit f729736

Browse files
committed
Bump non_snapshot_test_for_telemetry and snapshot_test_for_telemetry capabilities to fix bwc tests
1 parent 71adaa6 commit f729736

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/action/EsqlCapabilities.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -798,12 +798,12 @@ public enum Cap {
798798
/**
799799
* This enables 60_usage.yml "Basic ESQL usage....snapshot" version test. See also the next capability.
800800
*/
801-
SNAPSHOT_TEST_FOR_TELEMETRY(Build.current().isSnapshot()),
801+
SNAPSHOT_TEST_FOR_TELEMETRY_V2(Build.current().isSnapshot()),
802802

803803
/**
804804
* This enables 60_usage.yml "Basic ESQL usage....non-snapshot" version test. See also the previous capability.
805805
*/
806-
NON_SNAPSHOT_TEST_FOR_TELEMETRY(Build.current().isSnapshot() == false),
806+
NON_SNAPSHOT_TEST_FOR_TELEMETRY_V2(Build.current().isSnapshot() == false),
807807

808808
/**
809809
* Support simplified syntax for named parameters for field and function names.

x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/esql/60_usage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ setup:
3434
parameters: []
3535
# A snapshot function was removed in match_function_options, it can't work on mixed cluster tests otherwise.
3636
capabilities:
37-
- snapshot_test_for_telemetry
37+
- snapshot_test_for_telemetry_v2
3838
- fn_byte_length
3939
- match_function_options
4040
- first_over_time
@@ -139,7 +139,7 @@ setup:
139139
- method: POST
140140
path: /_query
141141
parameters: []
142-
capabilities: [ non_snapshot_test_for_telemetry, fn_contains ]
142+
capabilities: [ non_snapshot_test_for_telemetry_v2, fn_contains ]
143143
reason: "Test that should only be executed on release versions"
144144

145145
- do: {xpack.usage: {}}

0 commit comments

Comments
 (0)