Skip to content

Commit 5a0b159

Browse files
committed
Modify skips for get missing alises tests
Previous work modified the status code on the get aliases API when an alias is missing so that these requests 404 now. This change was also backported to 5.5 so we can adjust the skips to skip everything before 5.5.0.
1 parent e03c493 commit 5a0b159

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
"Basic test for delete alias":
33
- skip:
4-
version: " - 5.99.99"
4+
version: " - 5.4.99"
55
reason: Previous versions did not 404 on missing aliases
66

77
- do:

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ setup:
167167
---
168168
"Non-existent alias on an existing index returns 404":
169169
- skip:
170-
version: " - 5.99.99"
170+
version: " - 5.4.99"
171171
reason: Previous versions did not 404 on missing aliases
172172

173173
- do:
@@ -182,7 +182,7 @@ setup:
182182
---
183183
"Existent and non-existent alias returns 404 and the existing alias":
184184
- skip:
185-
version: " - 5.99.99"
185+
version: " - 5.4.99"
186186
reason: Previous versions did not 404 on missing aliases
187187

188188
- do:
@@ -198,7 +198,7 @@ setup:
198198
---
199199
"Existent and non-existent aliases returns 404 and the existing alias":
200200
- skip:
201-
version: " - 5.99.99"
201+
version: " - 5.4.99"
202202
reason: Previous versions did not 404 on missing aliases
203203

204204
- do:

0 commit comments

Comments
 (0)