From 632f36c0a38125a151b5fde9a3e390fe34380c7a Mon Sep 17 00:00:00 2001 From: Michael Froh Date: Thu, 18 May 2023 07:33:49 -0700 Subject: [PATCH] Fix version check for search pipelines REST test (#7618) As @reta pointed out, these tests should be skipped for versions less than 2.7.0, but the skip version ranges are inclusive. So, the upper bound of the range should be 2.6.99. This brings a change made for https://github.com/opensearch-project/OpenSearch/pull/7589 onto the main branch. Signed-off-by: Michael Froh --- .../rest-api-spec/test/search_pipeline/10_basic.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search_pipeline/10_basic.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search_pipeline/10_basic.yml index 46a63b79afb31..60c0706415bc2 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search_pipeline/10_basic.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search_pipeline/10_basic.yml @@ -1,7 +1,7 @@ --- "Test basic pipeline crud": - skip: - version: " - 2.7.0" + version: " - 2.6.99" reason: "Added in 2.7.0" - do: search_pipeline.put: @@ -32,7 +32,7 @@ --- "Test Put Versioned Pipeline": - skip: - version: " - 2.7.0" + version: " - 2.6.99" reason: "Added in 2.7.0" - do: search_pipeline.put: @@ -125,7 +125,7 @@ --- "Test Get All Pipelines": - skip: - version: " - 2.7.0" + version: " - 2.6.99" reason: "Added in 2.7.0" - do: search_pipeline.put: @@ -152,7 +152,7 @@ --- "Test invalid config": - skip: - version: " - 2.7.0" + version: " - 2.6.99" reason: "Added in 2.7.0" - do: catch: /parse_exception/