diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.upgrade/20_deprecated.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.upgrade/20_deprecated.yml index e4c45e7d99530..3801b6d02f265 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.upgrade/20_deprecated.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.upgrade/20_deprecated.yml @@ -1,8 +1,8 @@ --- -"Basic test for upgrade indices < 8.0.0": +"Basic test for upgrade indices < 7.11.0": - skip: - version: "8.0.0 - " - reason: "_upgrade api has deprecation header since 8.0.0" + version: "7.11.0 - " + reason: "_upgrade api has deprecation header since 7.11.0" features: "node_selector" - do: @@ -17,16 +17,16 @@ indices.upgrade: index: test_index node_selector: - version: " - 7.99.99" + version: " - 7.10.99" - match: {upgraded_indices.test_index.oldest_lucene_segment_version: '/(\d\.)+\d/'} - is_true: upgraded_indices.test_index.upgrade_version --- -"Upgrade indices ignore unavailable < 8.0.0": +"Upgrade indices ignore unavailable < 7.11.0": - skip: - version: "8.0.0 - " - reason: "_upgrade api has deprecation header since 8.0.0" + version: "7.11.0 - " + reason: "_upgrade api has deprecation header since 7.11.0" features: "node_selector" - do: @@ -43,17 +43,17 @@ index: ["does_not_exist", "test_index"] ignore_unavailable: true node_selector: - version: " - 7.99.99" + version: " - 7.10.99" - match: {_shards.total: 1} - is_true: upgraded_indices.test_index.upgrade_version - is_false: upgraded_indices.does_not_exist --- -"Upgrade indices allow no indices < 8.0.0": +"Upgrade indices allow no indices < 7.11.0": - skip: - version: "8.0.0 - " - reason: "_upgrade api has deprecation header since 8.0.0" + version: "7.11.0 - " + reason: "_upgrade api has deprecation header since 7.11.0" features: "node_selector" - do: @@ -62,15 +62,15 @@ ignore_unavailable: true allow_no_indices: true node_selector: - version: " - 7.99.99" + version: " - 7.10.99" - match: {_shards.total: 0} --- -"Upgrade indices disallow no indices < 8.0.0": +"Upgrade indices disallow no indices < 7.11.0": - skip: - version: "8.0.0 - " - reason: "_upgrade api has deprecation header since 8.0.0" + version: "7.11.0 - " + reason: "_upgrade api has deprecation header since 7.11.0" features: "node_selector" - do: @@ -80,13 +80,13 @@ ignore_unavailable: true allow_no_indices: false node_selector: - version: " - 7.99.99" + version: " - 7.10.99" --- -"Upgrade indices disallow unavailable < 8.0.0": +"Upgrade indices disallow unavailable < 7.11.0": - skip: - version: "8.0.0 - " - reason: "_upgrade api has deprecation header since 8.0.0" + version: "7.11.0 - " + reason: "_upgrade api has deprecation header since 7.11.0" features: "node_selector" - do: @@ -99,4 +99,4 @@ index: ["test_index", "does_not_exist"] ignore_unavailable: false node_selector: - version: " - 7.99.99" + version: " - 7.10.99"