Skip to content

Commit 1c711e3

Browse files
authored
Allow deprecation warning for the return_200_for_cluster_health_timeout parameter (#80178)
It will be deprecated in #78968, but first we need to backport the allow_warning change to 7.16 and 8.0 in order to not break BWC
1 parent 2a5b698 commit 1c711e3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/cluster.health/20_request_timeout.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,10 @@
4141
- skip:
4242
version: " - 7.15.99"
4343
reason: "return_200_for_cluster_health_timeout was added in 7.16"
44+
features: [ "allowed_warnings" ]
4445
- do:
46+
allowed_warnings:
47+
- 'the [return_200_for_cluster_health_timeout] parameter is deprecated and will be removed in a future release.'
4548
cluster.health:
4649
timeout: 1ms
4750
wait_for_active_shards: 5

0 commit comments

Comments
 (0)