From 5a0b159cb70a30e93ba3a8cfe6917c1acfa468eb Mon Sep 17 00:00:00 2001 From: Jason Tedor Date: Tue, 6 Jun 2017 15:35:30 -0400 Subject: [PATCH] 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. --- .../rest-api-spec/test/indices.delete_alias/10_basic.yml | 2 +- .../rest-api-spec/test/indices.get_alias/10_basic.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.delete_alias/10_basic.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.delete_alias/10_basic.yml index cae598b1b81..e9645e69a53 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.delete_alias/10_basic.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.delete_alias/10_basic.yml @@ -1,7 +1,7 @@ --- "Basic test for delete alias": - skip: - version: " - 5.99.99" + version: " - 5.4.99" reason: Previous versions did not 404 on missing aliases - do: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_alias/10_basic.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_alias/10_basic.yml index 67e5c38e77b..6678cbebbd5 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_alias/10_basic.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_alias/10_basic.yml @@ -167,7 +167,7 @@ setup: --- "Non-existent alias on an existing index returns 404": - skip: - version: " - 5.99.99" + version: " - 5.4.99" reason: Previous versions did not 404 on missing aliases - do: @@ -182,7 +182,7 @@ setup: --- "Existent and non-existent alias returns 404 and the existing alias": - skip: - version: " - 5.99.99" + version: " - 5.4.99" reason: Previous versions did not 404 on missing aliases - do: @@ -198,7 +198,7 @@ setup: --- "Existent and non-existent aliases returns 404 and the existing alias": - skip: - version: " - 5.99.99" + version: " - 5.4.99" reason: Previous versions did not 404 on missing aliases - do: