From 2e3ea918dc992ece7fe7dab835b36e3db935a872 Mon Sep 17 00:00:00 2001 From: Nik Everett Date: Wed, 22 Mar 2017 10:34:52 -0400 Subject: [PATCH] Skip testing new name if it isn't known In #23638 we renamed `request_cache` to `request` in the `_cache/clear` API. But it is only going to be committed back to 5.x so we can't test with the new name in a mixed version cluster. --- .../rest-api-spec/test/indices.clear_cache/10_basic.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.clear_cache/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.clear_cache/10_basic.yaml index d10531eddde..d8db152e979 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.clear_cache/10_basic.yaml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.clear_cache/10_basic.yaml @@ -5,6 +5,10 @@ --- "clear_cache with request set to false": + - skip: + version: " - 5.3.99" + reason: this name was added in 5.4 + - do: indices.clear_cache: request: false @@ -13,7 +17,7 @@ "clear_cache with request_cache set to false": - skip: version: " - 5.3.99" - reason: deprecation was added in 5.4.0 + reason: request_cache was deprecated in 5.4.0 features: "warnings" - do: