File tree Expand file tree Collapse file tree 4 files changed +8
-2
lines changed
core/src/main/java/org/elasticsearch/xpack/core/enrich
src/yamlRestTest/resources/rest-api-spec/test/enrich Expand file tree Collapse file tree 4 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -89,5 +89,6 @@ tasks.named("yamlRestCompatTestTransform").configure({ task ->
8989 task. skipTest(" esql/80_text/reverse text" , " The output type changed from TEXT to KEYWORD." )
9090 task. skipTest(" esql/80_text/values function" , " The output type changed from TEXT to KEYWORD." )
9191 task. skipTest(" privileges/11_builtin/Test get builtin privileges" ," unnecessary to test compatibility" )
92+ task. skipTest(" enrich/10_basic/Test using the deprecated elasticsearch_version field results in a warning" , " The deprecation message was changed" )
9293})
9394
Original file line number Diff line number Diff line change 3636public final class EnrichPolicy implements Writeable , ToXContentFragment {
3737
3838 private static final String ELASTICEARCH_VERSION_DEPRECATION_MESSAGE =
39- "the [elasticsearch_version] field of an enrich policy has no effect and will be removed in Elasticsearch 9.0 " ;
39+ "the [elasticsearch_version] field of an enrich policy has no effect and will be removed in a future version of Elasticsearch " ;
4040
4141 private static final DeprecationLogger deprecationLogger = DeprecationLogger .getLogger (EnrichPolicy .class );
4242
Original file line number Diff line number Diff line change @@ -32,3 +32,8 @@ testClusters.configureEach {
3232 setting ' xpack.security.enabled' , ' false'
3333 requiresFeature ' es.index_mode_feature_flag_registered' , Version . fromString(" 8.4.0" )
3434}
35+
36+ tasks. named(" yamlRestCompatTestTransform" ). configure({ task ->
37+ task. skipTest(" enrich/10_basic/Test using the deprecated elasticsearch_version field results in a warning" , " The deprecation message was changed" )
38+ })
39+
Original file line number Diff line number Diff line change 6969
7070 - do :
7171 warnings :
72- - " the [elasticsearch_version] field of an enrich policy has no effect and will be removed in Elasticsearch 9.0 "
72+ - " the [elasticsearch_version] field of an enrich policy has no effect and will be removed in a future version of Elasticsearch "
7373 enrich.put_policy :
7474 name : policy-crud-warning
7575 body :
You can’t perform that action at this time.
0 commit comments