Skip to content

Commit 7131c0f

Browse files
author
Sachin Kale
committed
Fix version support in rest-api-spec tests for restore API
Signed-off-by: Sachin Kale <kalsac@amazon.com>
1 parent 489a396 commit 7131c0f

File tree

1 file changed

+6
-0
lines changed
  • rest-api-spec/src/main/resources/rest-api-spec/test/remote_store.restore

1 file changed

+6
-0
lines changed

rest-api-spec/src/main/resources/rest-api-spec/test/remote_store.restore/10_basic.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
---
22
"Basic remote store restore API call":
3+
- skip:
4+
version: " - 2.99.99"
5+
reason: "remote store restore API only supported since 3.0.0"
36

47
- do:
58
remote_store.restore:
@@ -12,6 +15,9 @@
1215
- match: { remote_store.shards.failed : 0 }
1316
---
1417
"Error no indices":
18+
- skip:
19+
version: " - 2.99.99"
20+
reason: "remote store restore API only supported since 3.0.0"
1521

1622
- do:
1723
catch: bad_request

0 commit comments

Comments
 (0)