From 7131c0f8209791014d621cd718469149aa18246f Mon Sep 17 00:00:00 2001 From: Sachin Kale Date: Thu, 16 Jun 2022 15:03:19 +0530 Subject: [PATCH] Fix version support in rest-api-spec tests for restore API Signed-off-by: Sachin Kale --- .../rest-api-spec/test/remote_store.restore/10_basic.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/remote_store.restore/10_basic.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/remote_store.restore/10_basic.yml index 38d17d81fde9c..c168861b95c4b 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/remote_store.restore/10_basic.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/remote_store.restore/10_basic.yml @@ -1,5 +1,8 @@ --- "Basic remote store restore API call": + - skip: + version: " - 2.99.99" + reason: "remote store restore API only supported since 3.0.0" - do: remote_store.restore: @@ -12,6 +15,9 @@ - match: { remote_store.shards.failed : 0 } --- "Error no indices": + - skip: + version: " - 2.99.99" + reason: "remote store restore API only supported since 3.0.0" - do: catch: bad_request