Skip to content

Commit

Permalink
Fix version check for search pipelines REST test (opensearch-project#…
Browse files Browse the repository at this point in the history
…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
opensearch-project#7589 onto the main
branch.

Signed-off-by: Michael Froh <[email protected]>
  • Loading branch information
msfroh authored May 18, 2023
1 parent c369090 commit ff138cb
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand All @@ -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/
Expand Down

0 comments on commit ff138cb

Please sign in to comment.