Skip to content

Commit d06d1a0

Browse files
committed
Fix version check for search pipelines REST test
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. ssssss-off-by: Michael Froh <froh@amazon.com>
1 parent 054cccd commit d06d1a0

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • rest-api-spec/src/main/resources/rest-api-spec/test/search_pipeline

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
"Test basic pipeline crud":
33
- skip:
4-
version: " - 2.7.0"
4+
version: " - 2.6.99"
55
reason: "Added in 2.7.0"
66
- do:
77
search_pipeline.put:
@@ -32,7 +32,7 @@
3232
---
3333
"Test Put Versioned Pipeline":
3434
- skip:
35-
version: " - 2.7.0"
35+
version: " - 2.6.99"
3636
reason: "Added in 2.7.0"
3737
- do:
3838
search_pipeline.put:
@@ -125,7 +125,7 @@
125125
---
126126
"Test Get All Pipelines":
127127
- skip:
128-
version: " - 2.7.0"
128+
version: " - 2.6.99"
129129
reason: "Added in 2.7.0"
130130
- do:
131131
search_pipeline.put:
@@ -152,7 +152,7 @@
152152
---
153153
"Test invalid config":
154154
- skip:
155-
version: " - 2.7.0"
155+
version: " - 2.6.99"
156156
reason: "Added in 2.7.0"
157157
- do:
158158
catch: /parse_exception/

0 commit comments

Comments
 (0)