From d8d3f7ee478b55fafd0391018631d409215000c1 Mon Sep 17 00:00:00 2001 From: Gordon Brown Date: Mon, 16 Mar 2020 18:44:49 -0600 Subject: [PATCH] Update the Skip version in hidden index YAML tests This commit adjusts the version ranges used for the _cat API hidden index/alias tests. --- .../rest-api-spec/test/cat.aliases/40_hidden.yml | 9 +++------ .../rest-api-spec/test/cat.indices/20_hidden.yml | 15 +++++---------- 2 files changed, 8 insertions(+), 16 deletions(-) diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/cat.aliases/40_hidden.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/cat.aliases/40_hidden.yml index 6866ff595fefd..3aa7fdbb1f760 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/cat.aliases/40_hidden.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/cat.aliases/40_hidden.yml @@ -1,9 +1,8 @@ --- "Test cat aliases output with a hidden index with a hidden alias": - skip: - version: "- 7.99.99" + version: "- 7.6.99" reason: "hidden indices and aliases were added in 7.7.0" - # TODO: Update this in/after backport of https://github.com/elastic/elasticsearch/pull/53248 - do: indices.create: @@ -59,9 +58,8 @@ --- "Test cat aliases output with a hidden index with a visible alias": - skip: - version: "- 7.99.99" + version: "- 7.6.99" reason: "hidden indices and aliases were added in 7.7.0" - # TODO: Update this in/after backport of https://github.com/elastic/elasticsearch/pull/53248 - do: indices.create: @@ -106,9 +104,8 @@ --- "Test cat aliases output with a visible index with a hidden alias": - skip: - version: "- 7.99.99" + version: "- 7.6.99" reason: "hidden indices and aliases were added in 7.7.0" - # TODO: Update this in/after backport of https://github.com/elastic/elasticsearch/pull/53248 - do: indices.create: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/cat.indices/20_hidden.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/cat.indices/20_hidden.yml index 3a4fe28c85996..f357f362fd8eb 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/cat.indices/20_hidden.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/cat.indices/20_hidden.yml @@ -1,9 +1,8 @@ --- "Test cat indices output for hidden index": - skip: - version: "- 7.99.99" + version: "- 7.6.99" reason: "hidden indices were added in 7.7.0" - # TODO: Update this in/after backport of https://github.com/elastic/elasticsearch/pull/53248 - do: indices.create: index: index1 @@ -40,9 +39,8 @@ --- "Test cat indices output for dot-hidden index and dot-prefixed pattern": - skip: - version: "- 7.99.99" + version: "- 7.6.99" reason: "hidden indices were added in 7.7.0" - # TODO: Update this in/after backport of https://github.com/elastic/elasticsearch/pull/53248 - do: indices.create: index: .index1 @@ -79,9 +77,8 @@ --- "Test cat indices output with a hidden index with a visible alias": - skip: - version: "- 7.99.99" + version: "- 7.6.99" reason: "hidden indices were added in 7.7.0" - # TODO: Update this in/after backport of https://github.com/elastic/elasticsearch/pull/53248 - do: indices.create: @@ -142,9 +139,8 @@ --- "Test cat indices output with a hidden index with a hidden alias": - skip: - version: "- 7.99.99" + version: "- 7.6.99" reason: "hidden indices and aliases were added in 7.7.0" - # TODO: Update this in/after backport of https://github.com/elastic/elasticsearch/pull/53248 - do: indices.create: @@ -203,9 +199,8 @@ --- "Test cat indices output with a hidden index, dot-hidden alias and dot pattern": - skip: - version: "- 7.99.99" + version: "- 7.6.99" reason: "hidden indices and aliases were added in 7.7.0" - # TODO: Update this in/after backport of https://github.com/elastic/elasticsearch/pull/53248 - do: indices.create: