Skip to content

Commit b605c33

Browse files
committed
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.
1 parent 2d8d230 commit b605c33

File tree

1 file changed

+5
-1
lines changed
  • rest-api-spec/src/main/resources/rest-api-spec/test/indices.clear_cache

1 file changed

+5
-1
lines changed

rest-api-spec/src/main/resources/rest-api-spec/test/indices.clear_cache/10_basic.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55

66
---
77
"clear_cache with request set to false":
8+
- skip:
9+
version: " - 5.3.99"
10+
reason: this name was added in 5.4
11+
812
- do:
913
indices.clear_cache:
1014
request: false
@@ -13,7 +17,7 @@
1317
"clear_cache with request_cache set to false":
1418
- skip:
1519
version: " - 5.3.99"
16-
reason: deprecation was added in 5.4.0
20+
reason: request_cache was deprecated in 5.4.0
1721
features: "warnings"
1822

1923
- do:

0 commit comments

Comments
 (0)