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.
This commit is contained in:
Nik Everett 2017-03-22 10:34:52 -04:00
parent 9646aca893
commit 2e3ea918dc
1 changed files with 5 additions and 1 deletions

View File

@ -5,6 +5,10 @@
--- ---
"clear_cache with request set to false": "clear_cache with request set to false":
- skip:
version: " - 5.3.99"
reason: this name was added in 5.4
- do: - do:
indices.clear_cache: indices.clear_cache:
request: false request: false
@ -13,7 +17,7 @@
"clear_cache with request_cache set to false": "clear_cache with request_cache set to false":
- skip: - skip:
version: " - 5.3.99" version: " - 5.3.99"
reason: deprecation was added in 5.4.0 reason: request_cache was deprecated in 5.4.0
features: "warnings" features: "warnings"
- do: - do: