瀏覽代碼

Update ES|QL function list for release versions (#133096)

Update the function list to include the newly introduced MONTH_NAME function.

Relates #132968
Closes #133014
Nhat Nguyen 2 月之前
父節點
當前提交
e8957e442f
共有 2 個文件被更改,包括 2 次插入5 次删除
  1. 0 3
      muted-tests.yml
  2. 2 2
      x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/esql/60_usage.yml

+ 0 - 3
muted-tests.yml

@@ -582,9 +582,6 @@ tests:
 - class: org.elasticsearch.upgrades.SyntheticSourceRollingUpgradeIT
   method: testIndexing {upgradedNodes=0}
   issue: https://github.com/elastic/elasticsearch/issues/133061
-- class: org.elasticsearch.xpack.test.rest.XPackRestIT
-  method: test {p0=esql/60_usage/Basic ESQL usage output (telemetry) non-snapshot version}
-  issue: https://github.com/elastic/elasticsearch/issues/133014
 - class: org.elasticsearch.test.rest.yaml.CcsCommonYamlTestSuiteIT
   method: test {p0=search/160_exists_query/Test exists query on _id field}
   issue: https://github.com/elastic/elasticsearch/issues/133097

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

@@ -141,7 +141,7 @@ setup:
         - method: POST
           path: /_query
           parameters: []
-          capabilities: [ non_snapshot_test_for_telemetry, fn_byte_length ]
+          capabilities: [ non_snapshot_test_for_telemetry, fn_month_name ]
       reason: "Test that should only be executed on release versions"
 
   - do: {xpack.usage: {}}
@@ -229,7 +229,7 @@ setup:
   - gt: {esql.functions.to_long: $functions_to_long}
   - match: {esql.functions.coalesce: $functions_coalesce}
   - gt: {esql.functions.categorize: $functions_categorize}
-  - length: {esql.functions: 138} # check the "sister" test above for a likely update to the same esql.functions length check
+  - length: {esql.functions: 139} # check the "sister" test above for a likely update to the same esql.functions length check
 
 ---
 took: