diff --git a/README.md b/README.md index 77b9e09b9e1a7..603a91c9def97 100644 --- a/README.md +++ b/README.md @@ -61,3 +61,4 @@ Copyright OpenSearch Contributors. See [NOTICE](NOTICE.txt) for details. OpenSearch is a registered trademark of Amazon Web Services. OpenSearch includes certain Apache-licensed Elasticsearch code from Elasticsearch B.V. and other source code. Elasticsearch B.V. is not the source of that other source code. ELASTICSEARCH is a registered trademark of Elasticsearch B.V. + diff --git a/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/cluster.stats/10_analysis_stats.yml b/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/cluster.stats/10_analysis_stats.yml index 5468da5216bb4..4ddd728200e9c 100644 --- a/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/cluster.stats/10_analysis_stats.yml +++ b/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/cluster.stats/10_analysis_stats.yml @@ -1,9 +1,6 @@ --- "get cluster stats returns analysis stats": - - skip: - version: " - 7.6.99" - reason: "analysis stats are added for v7.7.0" - do: cluster.stats: {} diff --git a/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/70_intervals.yml b/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/70_intervals.yml index 9ad68e960421c..6f4c8006f96a5 100644 --- a/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/70_intervals.yml +++ b/modules/analysis-common/src/yamlRestTest/resources/rest-api-spec/test/search.query/70_intervals.yml @@ -22,9 +22,6 @@ setup: --- "Test use_field": - - skip: - version: " - 7.1.99" - reason: "Implemented in 7.2" - do: search: index: test diff --git a/modules/geo/src/yamlRestTest/resources/rest-api-spec/test/geo_shape/230_composite.yml b/modules/geo/src/yamlRestTest/resources/rest-api-spec/test/geo_shape/230_composite.yml index 211f3c3f46b88..405bea224c4b0 100644 --- a/modules/geo/src/yamlRestTest/resources/rest-api-spec/test/geo_shape/230_composite.yml +++ b/modules/geo/src/yamlRestTest/resources/rest-api-spec/test/geo_shape/230_composite.yml @@ -83,9 +83,6 @@ setup: index: [test, other] --- "Simple Composite aggregation with GeoTile grid": - - skip: - version: " - 7.4.99" - reason: geotile_grid is not supported until 7.5.0 - do: search: rest_total_hits_as_int: true @@ -127,9 +124,6 @@ setup: --- "Simple Composite aggregation with geotile grid add aggregate after": - - skip: - version: " - 7.4.99" - reason: geotile_grid is not supported until 7.5.0 - do: search: index: test diff --git a/modules/lang-painless/src/yamlRestTest/resources/rest-api-spec/test/painless/17_update_error.yml b/modules/lang-painless/src/yamlRestTest/resources/rest-api-spec/test/painless/17_update_error.yml index fdbc6de37e3ea..81daa9569d332 100644 --- a/modules/lang-painless/src/yamlRestTest/resources/rest-api-spec/test/painless/17_update_error.yml +++ b/modules/lang-painless/src/yamlRestTest/resources/rest-api-spec/test/painless/17_update_error.yml @@ -1,8 +1,6 @@ --- "Script errors contain position": - - skip: - version: " - 7.7.0" - reason: "position introduced in 7.7" + - do: catch: /compile error/ diff --git a/modules/lang-painless/src/yamlRestTest/resources/rest-api-spec/test/painless/80_script_score.yml b/modules/lang-painless/src/yamlRestTest/resources/rest-api-spec/test/painless/80_script_score.yml index d506db0cb0d3e..2888f11c7697c 100644 --- a/modules/lang-painless/src/yamlRestTest/resources/rest-api-spec/test/painless/80_script_score.yml +++ b/modules/lang-painless/src/yamlRestTest/resources/rest-api-spec/test/painless/80_script_score.yml @@ -500,9 +500,7 @@ --- "Script Score With Highlight": - - skip: - version: " - 7.4.0" - reason: "highlight for script_score was introduced in 7.4.1" + - do: indices.create: diff --git a/modules/lang-painless/src/yamlRestTest/resources/rest-api-spec/test/painless/85_script_score_random_score.yml b/modules/lang-painless/src/yamlRestTest/resources/rest-api-spec/test/painless/85_script_score_random_score.yml index d96b0ce42ec24..3deb949205dbf 100644 --- a/modules/lang-painless/src/yamlRestTest/resources/rest-api-spec/test/painless/85_script_score_random_score.yml +++ b/modules/lang-painless/src/yamlRestTest/resources/rest-api-spec/test/painless/85_script_score_random_score.yml @@ -1,10 +1,5 @@ # Integration tests for ScriptScoreQuery using Painless -setup: -- skip: - version: " - 7.1.99" - reason: "random score function of script score was added in 7.2" - --- "Random score function with _seq_no field": - do: diff --git a/modules/mapper-extras/src/yamlRestTest/resources/rest-api-spec/test/search-as-you-type/10_basic.yml b/modules/mapper-extras/src/yamlRestTest/resources/rest-api-spec/test/search-as-you-type/10_basic.yml index 21843dad1d177..e0712c79c0102 100644 --- a/modules/mapper-extras/src/yamlRestTest/resources/rest-api-spec/test/search-as-you-type/10_basic.yml +++ b/modules/mapper-extras/src/yamlRestTest/resources/rest-api-spec/test/search-as-you-type/10_basic.yml @@ -1,8 +1,4 @@ setup: - - skip: - version: " - 7.1.99" - reason: "added in 7.2.0" - - do: indices.create: index: test diff --git a/modules/mapper-extras/src/yamlRestTest/resources/rest-api-spec/test/search-as-you-type/20_highlighting.yml b/modules/mapper-extras/src/yamlRestTest/resources/rest-api-spec/test/search-as-you-type/20_highlighting.yml index 58441abac8f88..84092bfbed47f 100644 --- a/modules/mapper-extras/src/yamlRestTest/resources/rest-api-spec/test/search-as-you-type/20_highlighting.yml +++ b/modules/mapper-extras/src/yamlRestTest/resources/rest-api-spec/test/search-as-you-type/20_highlighting.yml @@ -1,7 +1,4 @@ setup: - - skip: - version: " - 7.1.99" - reason: "added in 7.2.0" - do: indices.create: diff --git a/modules/parent-join/src/yamlRestTest/resources/rest-api-spec/test/11_parent_child.yml b/modules/parent-join/src/yamlRestTest/resources/rest-api-spec/test/11_parent_child.yml index a3c2d78690a7a..9dd86246bcd9b 100644 --- a/modules/parent-join/src/yamlRestTest/resources/rest-api-spec/test/11_parent_child.yml +++ b/modules/parent-join/src/yamlRestTest/resources/rest-api-spec/test/11_parent_child.yml @@ -28,9 +28,7 @@ setup: --- teardown: - - skip: - version: " - 7.6.99" - reason: "implemented in 7.7.0" + - do: cluster.put_settings: @@ -68,9 +66,7 @@ teardown: --- "HasChild disallow expensive queries": - - skip: - version: " - 7.6.99" - reason: "implemented in 7.7.0" + ### Update setting to false - do: diff --git a/modules/parent-join/src/yamlRestTest/resources/rest-api-spec/test/20_parent_join.yml b/modules/parent-join/src/yamlRestTest/resources/rest-api-spec/test/20_parent_join.yml index bb2d39fbbdd4e..47395b2a28a05 100644 --- a/modules/parent-join/src/yamlRestTest/resources/rest-api-spec/test/20_parent_join.yml +++ b/modules/parent-join/src/yamlRestTest/resources/rest-api-spec/test/20_parent_join.yml @@ -30,9 +30,7 @@ setup: --- teardown: - - skip: - version: " - 7.6.99" - reason: "implemented in 7.7.0" + - do: cluster.put_settings: @@ -100,9 +98,7 @@ teardown: --- "HasChild disallow expensive queries": - - skip: - version: " - 7.6.99" - reason: "implemented in 7.7.0" + ### Update setting to false - do: diff --git a/modules/parent-join/src/yamlRestTest/resources/rest-api-spec/test/30_inner_hits.yml b/modules/parent-join/src/yamlRestTest/resources/rest-api-spec/test/30_inner_hits.yml index 4e3d079d648ef..efba2381b650b 100644 --- a/modules/parent-join/src/yamlRestTest/resources/rest-api-spec/test/30_inner_hits.yml +++ b/modules/parent-join/src/yamlRestTest/resources/rest-api-spec/test/30_inner_hits.yml @@ -1,8 +1,5 @@ --- setup: - - skip: - version: " - 7.5.99" - reason: "The bug was corrected from 7.6" - do: indices.create: @@ -46,9 +43,7 @@ setup: --- teardown: - - skip: - version: " - 7.6.99" - reason: "implemented in 7.7.0" + - do: cluster.put_settings: @@ -58,9 +53,6 @@ teardown: --- "Test two sub-queries with only one having inner_hits": - - skip: - version: " - 7.5.99" - reason: "The bug was corrected from 7.6" - do: search: @@ -87,9 +79,7 @@ teardown: --- "HasParent disallow expensive queries": - - skip: - version: " - 7.6.99" - reason: "implemented in 7.7.0" + ### Update setting to false - do: diff --git a/modules/reindex/src/yamlRestTest/resources/rest-api-spec/test/delete_by_query/10_basic.yml b/modules/reindex/src/yamlRestTest/resources/rest-api-spec/test/delete_by_query/10_basic.yml index 7783bbd1f9476..aef781980152e 100644 --- a/modules/reindex/src/yamlRestTest/resources/rest-api-spec/test/delete_by_query/10_basic.yml +++ b/modules/reindex/src/yamlRestTest/resources/rest-api-spec/test/delete_by_query/10_basic.yml @@ -277,8 +277,6 @@ --- "Limit by size": - skip: - version: " - 7.2.99" - reason: "deprecation warnings only emitted on 7.3+" features: allowed_warnings - do: @@ -365,9 +363,6 @@ --- "Limit by max_docs in URL": - - skip: - version: " - 7.2.99" - reason: "max_docs introduced in 7.3.0" - do: index: @@ -408,9 +403,6 @@ --- "Limit by max_docs in body": - - skip: - version: " - 7.2.99" - reason: "max_docs introduced in 7.3.0" - do: index: diff --git a/modules/reindex/src/yamlRestTest/resources/rest-api-spec/test/delete_by_query/20_validation.yml b/modules/reindex/src/yamlRestTest/resources/rest-api-spec/test/delete_by_query/20_validation.yml index 2ddffea92f62f..d0bf01eeba23d 100644 --- a/modules/reindex/src/yamlRestTest/resources/rest-api-spec/test/delete_by_query/20_validation.yml +++ b/modules/reindex/src/yamlRestTest/resources/rest-api-spec/test/delete_by_query/20_validation.yml @@ -48,9 +48,6 @@ --- "invalid max_docs fails": - - skip: - version: " - 7.2.99" - reason: "max_docs introduced in 7.3.0" - do: index: @@ -68,9 +65,7 @@ --- "both max_docs and size fails": - - skip: - version: " - 7.2.99" - reason: "max_docs introduced in 7.3.0" + - do: index: @@ -89,9 +84,7 @@ --- "max_docs shoule be greater than slices": - - skip: - version: " - 7.2.99" - reason: "max_docs introduced in 7.3.0" + - do: index: diff --git a/modules/reindex/src/yamlRestTest/resources/rest-api-spec/test/reindex/20_validation.yml b/modules/reindex/src/yamlRestTest/resources/rest-api-spec/test/reindex/20_validation.yml index 15e2397099b65..174c3dd95178a 100644 --- a/modules/reindex/src/yamlRestTest/resources/rest-api-spec/test/reindex/20_validation.yml +++ b/modules/reindex/src/yamlRestTest/resources/rest-api-spec/test/reindex/20_validation.yml @@ -113,9 +113,7 @@ --- "invalid max_docs in body fails": - - skip: - version: " - 7.2.99" - reason: "max_docs introduced in 7.3.0" + - do: index: @@ -134,9 +132,7 @@ --- "max_docs shoule be greater than slices": - - skip: - version: " - 7.2.99" - reason: "max_docs introduced in 7.3.0" + - do: index: @@ -156,9 +152,7 @@ --- "invalid max_docs in URL fails": - - skip: - version: " - 7.2.99" - reason: "max_docs introduced in 7.3.0" + - do: index: @@ -177,9 +171,7 @@ --- "inconsistent max_docs and size fails": - - skip: - version: " - 7.2.99" - reason: "max_docs introduced in 7.3.0" + - do: index: @@ -199,9 +191,7 @@ --- "inconsistent max_docs in body and max_docs in URL fails": - - skip: - version: " - 7.2.99" - reason: "max_docs introduced in 7.3.0" + - do: index: diff --git a/modules/reindex/src/yamlRestTest/resources/rest-api-spec/test/reindex/30_search.yml b/modules/reindex/src/yamlRestTest/resources/rest-api-spec/test/reindex/30_search.yml index 01a14b2061e28..5286e73a80247 100644 --- a/modules/reindex/src/yamlRestTest/resources/rest-api-spec/test/reindex/30_search.yml +++ b/modules/reindex/src/yamlRestTest/resources/rest-api-spec/test/reindex/30_search.yml @@ -34,8 +34,6 @@ --- "Sorting and size combined": - skip: - version: " - 7.2.99" - reason: "size deprecation warnings only emitted on 7.3+, but sort deprecated in 7.6" features: allowed_warnings - do: @@ -125,8 +123,6 @@ --- "Sorting and max_docs in body combined": - skip: - version: " - 7.5.99" - reason: "max_docs introduced in 7.3.0, but sort deprecated in 7.6" features: "allowed_warnings" - do: @@ -172,8 +168,6 @@ --- "Sorting deprecated wait_for_completion false": - skip: - version: " - 7.5.99" - reason: "sort deprecated in 7.6" features: "allowed_warnings" - do: @@ -206,9 +200,6 @@ --- "max_docs in URL": - - skip: - version: " - 7.2.99" - reason: "max_docs introduced in 7.3.0" - do: index: diff --git a/modules/reindex/src/yamlRestTest/resources/rest-api-spec/test/reindex/90_remote.yml b/modules/reindex/src/yamlRestTest/resources/rest-api-spec/test/reindex/90_remote.yml index 7d43a54987225..aa05d6c49e0f8 100644 --- a/modules/reindex/src/yamlRestTest/resources/rest-api-spec/test/reindex/90_remote.yml +++ b/modules/reindex/src/yamlRestTest/resources/rest-api-spec/test/reindex/90_remote.yml @@ -285,9 +285,6 @@ --- "Reindex from remote with max_docs": - - skip: - version: " - 7.2.99" - reason: "max_docs introduced in 7.3.0" - do: index: diff --git a/modules/reindex/src/yamlRestTest/resources/rest-api-spec/test/update_by_query/10_basic.yml b/modules/reindex/src/yamlRestTest/resources/rest-api-spec/test/update_by_query/10_basic.yml index 4df12b31a0bed..4b5a3f6249cf8 100644 --- a/modules/reindex/src/yamlRestTest/resources/rest-api-spec/test/update_by_query/10_basic.yml +++ b/modules/reindex/src/yamlRestTest/resources/rest-api-spec/test/update_by_query/10_basic.yml @@ -216,8 +216,6 @@ --- "Limit by size": - skip: - version: " - 7.2.99" - reason: "deprecation warnings only emitted on 7.3+" features: allowed_warnings - do: @@ -278,9 +276,6 @@ --- "Limit by max_docs in URL": - - skip: - version: " - 7.2.99" - reason: "max_docs introduced in 7.3.0" - do: index: @@ -308,9 +303,6 @@ --- "Limit by max_docs in body": - - skip: - version: " - 7.2.99" - reason: "max_docs introduced in 7.3.0" - do: index: diff --git a/modules/reindex/src/yamlRestTest/resources/rest-api-spec/test/update_by_query/20_validation.yml b/modules/reindex/src/yamlRestTest/resources/rest-api-spec/test/update_by_query/20_validation.yml index 7b00fb59b02b2..55b2b88a51fee 100644 --- a/modules/reindex/src/yamlRestTest/resources/rest-api-spec/test/update_by_query/20_validation.yml +++ b/modules/reindex/src/yamlRestTest/resources/rest-api-spec/test/update_by_query/20_validation.yml @@ -26,9 +26,6 @@ --- "invalid max_docs in URL fails": - - skip: - version: " - 7.2.99" - reason: "max_docs introduced in 7.3.0" - do: index: @@ -43,9 +40,6 @@ --- "invalid max_docs in body fails": - - skip: - version: " - 7.2.99" - reason: "max_docs introduced in 7.3.0" - do: index: @@ -61,9 +55,6 @@ --- "inconsistent max_docs and size fails": - - skip: - version: " - 7.2.99" - reason: "max_docs introduced in 7.3.0" - do: index: @@ -82,9 +73,6 @@ --- "inconsistent max_docs in body and max_docs in URL fails": - - skip: - version: " - 7.2.99" - reason: "max_docs introduced in 7.3.0" - do: index: @@ -103,9 +91,6 @@ --- "max_docs shoule be greater than slices": - - skip: - version: " - 7.2.99" - reason: "max_docs introduced in 7.3.0" - do: index: diff --git a/qa/multi-cluster-search/src/test/resources/rest-api-spec/test/multi_cluster/30_field_caps.yml b/qa/multi-cluster-search/src/test/resources/rest-api-spec/test/multi_cluster/30_field_caps.yml index cfecd009bd1ef..f6f57fe37b783 100644 --- a/qa/multi-cluster-search/src/test/resources/rest-api-spec/test/multi_cluster/30_field_caps.yml +++ b/qa/multi-cluster-search/src/test/resources/rest-api-spec/test/multi_cluster/30_field_caps.yml @@ -75,9 +75,7 @@ --- "Get field caps from remote cluster with index filter": - - skip: - version: " - 7.8.99" - reason: Index filter support was added in 7.9 + - do: indices.create: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/bulk/10_basic.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/bulk/10_basic.yml index c91ec511a0fdb..f0ef4ad6d133f 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/bulk/10_basic.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/bulk/10_basic.yml @@ -53,9 +53,7 @@ --- "Empty _id with op_type create": - - skip: - version: " - 7.4.99" - reason: "auto id + op type create only supported since 7.5" + - do: bulk: @@ -111,9 +109,6 @@ --- "When setting require_alias flag per request": - - skip: - version: " - 7.9.99" - reason: "require_alias flag was added in version 7.10" - do: indices.create: @@ -154,9 +149,6 @@ index: new_index_not_created --- "When setting require_alias flag": - - skip: - version: " - 7.9.99" - reason: "require_alias flag was added in version 7.10" - do: indices.create: @@ -193,9 +185,7 @@ index: new_index_not_created --- "Return item-level error when no write index defined for an alias": - - skip: - version: " - 7.8.99" - reason: "supporting code added in 7.9.0" + - do: indices.create: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/bulk/90_pipeline.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/bulk/90_pipeline.yml index ba34604231268..5b03afe2a0d2f 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/bulk/90_pipeline.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/bulk/90_pipeline.yml @@ -1,8 +1,5 @@ --- "One request has pipeline and another not": - - skip: - version: " - 7.9.0" - reason: "fixed in 7.9.1" - do: bulk: refresh: true diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/cat.aliases/10_basic.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/cat.aliases/10_basic.yml index 3263a3d999052..bb8f448098a0e 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/cat.aliases/10_basic.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/cat.aliases/10_basic.yml @@ -1,9 +1,7 @@ --- "Help": - - skip: - version: " - 7.3.99" - reason: "is_write_index is shown in cat.aliases starting version 7.4.0" + - do: cat.aliases: @@ -54,9 +52,7 @@ --- "Simple alias": - - skip: - version: " - 7.3.99" - reason: "is_write_index is shown in cat.aliases starting version 7.4.0" + - do: indices.create: @@ -114,9 +110,6 @@ --- "Complex alias": - - skip: - version: " - 7.3.99" - reason: "is_write_index is shown in cat.aliases starting version 7.4.0" - do: indices.create: @@ -278,9 +271,6 @@ --- "Column headers": - - skip: - version: " - 7.3.99" - reason: "is_write_index is shown in cat.aliases starting version 7.4.0" - do: indices.create: @@ -385,9 +375,7 @@ --- "Alias against closed index": - - skip: - version: " - 7.3.99" - reason: "is_write_index is shown in cat.aliases starting version 7.4.0" + - do: indices.create: 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 3fe58d7ea08f4..864989ad54220 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,8 +1,6 @@ --- "Test cat aliases output with a hidden index with a hidden alias": - - skip: - version: "- 7.6.99" - reason: "hidden indices and aliases were added in 7.7.0" + - do: indices.create: @@ -57,9 +55,7 @@ $/ --- "Test cat aliases output with a hidden index with a visible alias": - - skip: - version: "- 7.6.99" - reason: "hidden indices and aliases were added in 7.7.0" + - do: indices.create: @@ -104,9 +100,7 @@ --- "Test cat aliases output with a visible index with a hidden alias": - - skip: - version: "- 7.6.99" - reason: "hidden indices and aliases were added in 7.7.0" + - do: indices.create: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/cat.indices/10_basic.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/cat.indices/10_basic.yml index 7b62bd90052ac..780b05fbff213 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/cat.indices/10_basic.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/cat.indices/10_basic.yml @@ -92,9 +92,6 @@ $/ --- "Test cat indices output for closed index": - - skip: - version: " - 7.1.99" - reason: "closed indices are replicated starting version 7.2.0" - do: indices.create: @@ -276,9 +273,7 @@ --- "Test cat indices with invalid health parameter": - - skip: - version: " - 7.7.1" - reason: "fixed in 7.7.1+" + - 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 7a8cf51d4a129..98781ed937f68 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,8 +1,6 @@ --- "Test cat indices output for hidden index": - - skip: - version: "- 7.6.99" - reason: "hidden indices were added in 7.7.0" + - do: indices.create: @@ -39,9 +37,7 @@ --- "Test cat indices output for dot-hidden index and dot-prefixed pattern": - - skip: - version: "- 7.6.99" - reason: "hidden indices were added in 7.7.0" + - do: indices.create: @@ -78,9 +74,7 @@ --- "Test cat indices output with a hidden index with a visible alias": - - skip: - version: "- 7.6.99" - reason: "hidden indices were added in 7.7.0" + - do: indices.create: @@ -140,9 +134,7 @@ $/ --- "Test cat indices output with a hidden index with a hidden alias": - - skip: - version: "- 7.6.99" - reason: "hidden indices and aliases were added in 7.7.0" + - do: indices.create: @@ -200,9 +192,7 @@ $/ --- "Test cat indices output with a hidden index, dot-hidden alias and dot pattern": - - skip: - version: "- 7.6.99" - reason: "hidden indices and aliases were added in 7.7.0" + - do: indices.create: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/cat.tasks/10_basic.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/cat.tasks/10_basic.yml index c3f0793a7999a..da9dc2e3aff3c 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/cat.tasks/10_basic.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/cat.tasks/10_basic.yml @@ -21,8 +21,6 @@ --- "Test cat tasks output with X-Opaque-Id": - skip: - version: " - 7.9.99" - reason: support for opaque_id was added in 7.10.0 features: headers - do: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/cat.templates/10_basic.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/cat.templates/10_basic.yml index a75dc8b812769..1cf0339f839f8 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/cat.templates/10_basic.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/cat.templates/10_basic.yml @@ -1,8 +1,5 @@ --- "Help": - - skip: - version: " - 7.7.99" - reason: "format changed in 7.8 to accomodate V2 index templates" - do: cat.templates: @@ -31,9 +28,6 @@ --- "Normal templates": - - skip: - version: " - 7.7.99" - reason: "format changed in 7.8 to accomodate V2 index templates" - do: indices.put_template: @@ -82,9 +76,6 @@ --- "Filtered templates": - - skip: - version: " - 7.7.99" - reason: "format changed in 7.8 to accomodate V2 index templates" - do: indices.put_template: @@ -124,9 +115,6 @@ --- "Column headers": - - skip: - version: " - 7.7.99" - reason: "format changed in 7.8 to accomodate V2 index templates" - do: indices.put_template: @@ -162,9 +150,6 @@ --- "Select columns": - - skip: - version: " - 7.7.99" - reason: "format changed in 7.8 to accomodate V2 index templates" - do: indices.put_template: @@ -197,8 +182,6 @@ --- "Sort templates": - skip: - version: " - 7.7.99" - reason: "format changed in 7.8 to accomodate V2 index templates" features: default_shards - do: @@ -250,8 +233,6 @@ --- "Multiple template": - skip: - version: " - 7.7.99" - reason: "format changed in 7.8 to accomodate V2 index templates" features: default_shards - do: @@ -285,8 +266,6 @@ --- "Mixture of legacy and composable templates": - skip: - version: " - 7.7.99" - reason: "format changed in 7.8 to accomodate V2 index templates" features: allowed_warnings - do: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/cluster.allocation_explain/10_basic.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/cluster.allocation_explain/10_basic.yml index f0fdca695b829..7e0924ab79788 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/cluster.allocation_explain/10_basic.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/cluster.allocation_explain/10_basic.yml @@ -49,9 +49,6 @@ --- "Cluster shard allocation explanation test with a closed index": - - skip: - version: " - 7.1.99" - reason: closed indices are replicated starting version 7.2.0 - do: indices.create: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/cluster.component_template/10_basic.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/cluster.component_template/10_basic.yml index fbbd59b893b6d..10d1c51eee797 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/cluster.component_template/10_basic.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/cluster.component_template/10_basic.yml @@ -1,8 +1,6 @@ --- "Basic CRUD": - - skip: - version: " - 7.7.99" - reason: "index/component template v2 API unavailable before 7.8" + - do: cluster.put_component_template: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/cluster.health/10_basic.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/cluster.health/10_basic.yml index 0f12a87bd8771..77b50b5c8a45f 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/cluster.health/10_basic.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/cluster.health/10_basic.yml @@ -204,9 +204,6 @@ --- "cluster health with closed index": - - skip: - version: " - 7.1.99" - reason: "closed indices are replicated starting version 7.2.0" - do: indices.create: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/cluster.health/30_indices_options.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/cluster.health/30_indices_options.yml index 93ca5da19d2ff..d609cc1cde460 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/cluster.health/30_indices_options.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/cluster.health/30_indices_options.yml @@ -30,9 +30,6 @@ setup: --- "cluster health with expand_wildcards": - - skip: - version: " - 7.1.99" - reason: "indices options has been introduced in cluster health request starting version 7.2.0" - do: cluster.health: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/cluster.stats/10_basic.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/cluster.stats/10_basic.yml index 6e149b297d843..f0bd1e42f4ef5 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/cluster.stats/10_basic.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/cluster.stats/10_basic.yml @@ -83,10 +83,6 @@ --- "get cluster stats returns packaging types": - - skip: - version: " - 7.1.99" - reason: "packaging types are added for v7.2.0" - - do: cluster.stats: {} diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/cluster.voting_config_exclusions/10_basic.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/cluster.voting_config_exclusions/10_basic.yml index 9390689ea53d2..939b757ad928e 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/cluster.voting_config_exclusions/10_basic.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/cluster.voting_config_exclusions/10_basic.yml @@ -11,9 +11,7 @@ teardown: --- "Add voting config exclusion by unknown node Id": - - skip: - version: " - 7.7.99" - reason: Tests the new voting config exclusions API introduced in 7.8.0 + - do: cluster.post_voting_config_exclusions: @@ -29,9 +27,7 @@ teardown: --- "Add voting config exclusion by unknown node Ids": - skip: - version: " - 7.7.99" features: contains - reason: "contains is a newly added assertion, and this tests the new voting config exclusions API introduced in 7.8.0" - do: cluster.post_voting_config_exclusions: @@ -46,9 +42,7 @@ teardown: --- "Add voting config exclusion by unknown node name": - - skip: - version: " - 7.7.99" - reason: Tests the new voting config exclusions API introduced in 7.8.0 + - do: cluster.post_voting_config_exclusions: @@ -64,9 +58,7 @@ teardown: --- "Add voting config exclusion by unknown node names": - skip: - version: " - 7.7.99" features: contains - reason: "contains is a newly added assertion, and this tests the new voting config exclusions API introduced in 7.8.0" - do: cluster.post_voting_config_exclusions: @@ -81,9 +73,7 @@ teardown: --- "Throw exception when adding voting config exclusion without specifying nodes": - - skip: - version: " - 7.7.99" - reason: Tests the new voting config exclusions API introduced in 7.8.0 + - do: catch: /Please set node identifiers correctly. One and only one of \[node_name\], \[node_names\] and \[node_ids\] has to be set/ @@ -91,9 +81,7 @@ teardown: --- "Throw exception when adding voting config exclusion and specifying both node_ids and node_names": - - skip: - version: " - 7.7.99" - reason: Tests the new voting config exclusions API introduced in 7.8.0 + - do: catch: /Please set node identifiers correctly. One and only one of \[node_name\], \[node_names\] and \[node_ids\] has to be set/ diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/field_caps/10_basic.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/field_caps/10_basic.yml index 45e9a969c5982..7a722f0683573 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/field_caps/10_basic.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/field_caps/10_basic.yml @@ -293,9 +293,6 @@ setup: --- "Field caps with include_unmapped": - - skip: - version: " - 7.1.99" - reason: include_unmapped has been added in 7.2.0 - do: field_caps: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/field_caps/20_meta.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/field_caps/20_meta.yml index f299e72d00d0e..d19156a5a1943 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/field_caps/20_meta.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/field_caps/20_meta.yml @@ -1,9 +1,6 @@ --- "Merge metadata across multiple indices": - - skip: - version: " - 7.5.99" - reason: Metadata support was added in 7.6 - do: indices.create: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/field_caps/30_filter.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/field_caps/30_filter.yml index da692dbe8e850..e6feb1ce5ca78 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/field_caps/30_filter.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/field_caps/30_filter.yml @@ -59,9 +59,7 @@ setup: --- "Field caps with index filter": - - skip: - version: " - 7.8.99" - reason: Index filter support was added in 7.9 + - do: field_caps: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/index/70_require_alias.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/index/70_require_alias.yml index d718a5a9704de..cdeb5d307bd77 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/index/70_require_alias.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/index/70_require_alias.yml @@ -1,8 +1,5 @@ --- "Set require_alias flag": - - skip: - version: " - 7.9.99" - reason: "require_alias flag added in 7.10" - do: catch: missing index: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.blocks/10_basic.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.blocks/10_basic.yml index f87553f222eb4..f622072af6919 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.blocks/10_basic.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.blocks/10_basic.yml @@ -1,8 +1,6 @@ --- "Basic test for index blocks": - - skip: - version: " - 7.8.99" - reason: "index block APIs have only been made available in 7.9.0" + - do: indices.create: index: test_index diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.clone/10_basic.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.clone/10_basic.yml index 07df09225c624..ceb4cff88357c 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.clone/10_basic.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.clone/10_basic.yml @@ -29,8 +29,6 @@ setup: --- "Clone index via API": - skip: - version: " - 7.3.99" - reason: index cloning was added in 7.4.0 features: allowed_warnings # make it read-only - do: @@ -95,8 +93,6 @@ setup: --- "Create illegal clone indices": - skip: - version: " - 7.3.99" - reason: index cloning was added in 7.4.0 features: allowed_warnings # try to do an illegal clone with illegal number_of_shards - do: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.clone/20_source_mapping.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.clone/20_source_mapping.yml index 21c476c76965c..453296b3b4a57 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.clone/20_source_mapping.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.clone/20_source_mapping.yml @@ -1,8 +1,6 @@ --- "Clone index ignores target template mapping": - skip: - version: " - 7.3.99" - reason: index cloning was added in 7.4.0 features: allowed_warnings # create index - do: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.clone/30_copy_settings.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.clone/30_copy_settings.yml index b0bd8056cb004..89488840a4ffc 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.clone/30_copy_settings.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.clone/30_copy_settings.yml @@ -1,8 +1,6 @@ --- "Copy settings during clone index": - skip: - version: " - 7.3.99" - reason: index cloning was added in 7.4.0 features: [arbitrary_key, allowed_warnings] - do: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.flush/10_basic.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.flush/10_basic.yml index 29b3c1208a7b5..034d165817b72 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.flush/10_basic.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.flush/10_basic.yml @@ -27,9 +27,6 @@ --- "Flush parameters validation": - - skip: - version: " - 7.1.99" - reason: flush parameters validation is introduced in 7.2.0 - do: indices.create: index: test diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.forcemerge/10_basic.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.forcemerge/10_basic.yml index 7410e020e1a91..201f1ed5db06c 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.forcemerge/10_basic.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.forcemerge/10_basic.yml @@ -12,8 +12,6 @@ --- "Check deprecation warning when incompatible only_expunge_deletes and max_num_segments values are both set": - skip: - version: " - 7.3.99" - reason: "deprecation warning about only_expunge_deletes and max_num_segments added in 7.4" features: "allowed_warnings" - do: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_index_template/10_basic.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_index_template/10_basic.yml index 435b09db70d76..46e5176af24bb 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_index_template/10_basic.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_index_template/10_basic.yml @@ -1,7 +1,5 @@ setup: - skip: - version: " - 7.7.99" - reason: "index template v2 API unavailable before 7.8" features: allowed_warnings - do: @@ -22,9 +20,7 @@ setup: --- "Get index template": - - skip: - version: " - 7.7.99" - reason: "index template v2 API unavailable before 7.8" + - do: indices.get_index_template: @@ -38,8 +34,6 @@ setup: --- "Get all index templates": - skip: - version: " - 7.7.99" - reason: "index template v2 API unavailable before 7.8" features: allowed_warnings - do: @@ -61,9 +55,6 @@ setup: --- "Get index template with local flag": - - skip: - version: " - 7.7.99" - reason: "index template v2 API unavailable before 7.8" - do: indices.get_index_template: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_index_template/20_get_missing.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_index_template/20_get_missing.yml index 4c855d928d1c0..a5e6053fe43b8 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_index_template/20_get_missing.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_index_template/20_get_missing.yml @@ -1,7 +1,5 @@ setup: - - skip: - version: " - 7.7.99" - reason: "index template v2 API unavailable before 7.8" + - do: indices.delete_index_template: @@ -9,9 +7,6 @@ setup: ignore: 404 --- "Get missing template": - - skip: - version: " - 7.7.99" - reason: "index template v2 API unavailable before 7.8" - do: catch: missing diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.open/10_basic.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.open/10_basic.yml index 35e4c29f27d3e..31d4a8c6bbef8 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.open/10_basic.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.open/10_basic.yml @@ -60,9 +60,6 @@ --- "Close index with wait_for_active_shards set to all": - - skip: - version: " - 7.1.99" - reason: "closed indices are replicated starting version 7.2.0" - do: indices.create: @@ -80,9 +77,6 @@ - match: { shards_acknowledged: true } --- "Close index response with result per index": - - skip: - version: " - 7.2.99" - reason: "close index response reports result per index starting version 7.3.0" - do: indices.create: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.put_alias/10_basic.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.put_alias/10_basic.yml index 41f87c1df28ed..a5203df0f6b0b 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.put_alias/10_basic.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.put_alias/10_basic.yml @@ -108,9 +108,7 @@ --- "Can create filtered alias with a date_nanos range query": - - skip: - version: " - 7.7.99" - reason: "Fix was introduced in 7.8.0" + - do: indices.create: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.put_index_template/10_basic.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.put_index_template/10_basic.yml index 98cb73a552001..4e149c5656b4f 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.put_index_template/10_basic.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.put_index_template/10_basic.yml @@ -1,8 +1,6 @@ --- "Put index template": - skip: - version: " - 7.7.99" - reason: "index template v2 API unavailable before 7.8" features: allowed_warnings - do: @@ -33,8 +31,6 @@ --- "Put multiple index templates": - skip: - version: " - 7.7.99" - reason: "index template v2 API unavailable before 7.8" features: allowed_warnings - do: @@ -73,8 +69,6 @@ --- "Put index template with 'create' flag": - skip: - version: " - 7.7.99" - reason: "index template v2 API unavailable before 7.8" features: allowed_warnings - do: @@ -110,9 +104,6 @@ --- "Put index template without index_patterns": - - skip: - version: " - 7.7.99" - reason: "index template v2 API unavailable before 7.8" - do: catch: bad_request diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.put_index_template/15_composition.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.put_index_template/15_composition.yml index 5eef78a8c63ba..d2ea30d0ae437 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.put_index_template/15_composition.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.put_index_template/15_composition.yml @@ -1,8 +1,6 @@ --- "Component and index template composition": - skip: - version: " - 7.7.99" - reason: "index template v2 API unavailable before 7.8" features: allowed_warnings - do: @@ -88,8 +86,6 @@ --- "Index template priority": - skip: - version: " - 7.7.99" - reason: "index template v2 API unavailable before 7.8" features: allowed_warnings - do: @@ -131,8 +127,6 @@ --- "Component template only composition": - skip: - version: " - 7.7.99" - reason: "index template v2 API unavailable before 7.8" features: allowed_warnings - do: @@ -176,8 +170,6 @@ --- "Index template without component templates": - skip: - version: " - 7.7.99" - reason: "index template v2 API unavailable before 7.8" features: allowed_warnings - do: @@ -204,8 +196,6 @@ --- "Index template mapping merging": - skip: - version: " - 7.8.99" - reason: "index template v2 mapping merging not available before 7.9" features: allowed_warnings - do: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.put_mapping/10_basic.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.put_mapping/10_basic.yml index 23f87ea1ec2b3..3fa3e2b9a2fa5 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.put_mapping/10_basic.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.put_mapping/10_basic.yml @@ -112,9 +112,6 @@ --- "Update per-field metadata": - - skip: - version: " - 7.5.99" - reason: "Per-field meta was introduced in 7.6" - do: indices.create: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.recovery/10_basic.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.recovery/10_basic.yml index 4806601cec263..2c4e97d6505c7 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.recovery/10_basic.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.recovery/10_basic.yml @@ -41,9 +41,6 @@ - gte: { test_1.shards.0.verify_index.total_time_in_millis: 0 } --- "Indices recovery test for closed index": - - skip: - version: " - 7.1.99" - reason: closed indices are replicated starting version 7.2.0 - do: indices.create: @@ -132,9 +129,6 @@ - match: { $body: {} } --- "Indices recovery test with detailed parameter": - - skip: - version: " - 7.2.99" - reason: bug with detailed parameter fixed in 7.3 - do: indices.create: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.resolve_index/10_basic_resolve_index.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.resolve_index/10_basic_resolve_index.yml index 25da4b6d001d6..eac4b65a28fab 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.resolve_index/10_basic_resolve_index.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.resolve_index/10_basic_resolve_index.yml @@ -1,8 +1,6 @@ --- setup: - skip: - version: " - 7.8.99" - reason: "resolve index introduced in 7.9" features: allowed_warnings - do: @@ -34,9 +32,7 @@ setup: --- "Resolve index with indices and aliases": - - skip: - version: " - 7.8.99" - reason: "resolve index introduced in 7.9" + - do: indices.resolve_index: @@ -62,9 +58,7 @@ setup: --- "Resolve index with hidden and closed indices": - - skip: - version: " - 7.8.99" - reason: "resolve index introduced in 7.9" + - do: indices.resolve_index: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.simulate_index_template/10_basic.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.simulate_index_template/10_basic.yml index 8ecb209e34f1b..3dca3496f440e 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.simulate_index_template/10_basic.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.simulate_index_template/10_basic.yml @@ -1,8 +1,6 @@ --- "Simulate index template without new template in the body": - skip: - version: " - 7.8.99" - reason: "simulate index template API format changed in 7.9 to drop _doc" features: ["default_shards"] - do: @@ -31,8 +29,6 @@ --- "Simulate index template specifying a new template": - skip: - version: " - 7.8.99" - reason: "simulate index template API format changed in 7.9 to drop _doc" features: ["default_shards"] - do: @@ -86,8 +82,6 @@ --- "Simulate index template with index not matching any template": - skip: - version: " - 7.8.99" - reason: "simulate index template API format changed in 7.9 to drop _doc" features: allowed_warnings - do: @@ -116,8 +110,6 @@ --- "Simulate index matches overlapping legacy and composable templates": - skip: - version: " - 7.8.99" - reason: "simulate index template API format changed in 7.9 to drop _doc" features: ["allowed_warnings", "default_shards"] - do: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.simulate_template/10_basic.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.simulate_template/10_basic.yml index ac7b151a2a6bc..abbb3cf666769 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.simulate_template/10_basic.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.simulate_template/10_basic.yml @@ -1,8 +1,6 @@ --- "Simulate template without a template in the body": - skip: - version: " - 7.8.99" - reason: "only available in 7.9+" features: ["default_shards"] - do: @@ -31,8 +29,6 @@ --- "Simulate index template specifying a new template": - skip: - version: " - 7.8.99" - reason: "only available in 7.9+" features: ["default_shards"] - do: @@ -85,8 +81,6 @@ --- "Simulate template matches overlapping legacy and composable templates": - skip: - version: " - 7.8.99" - reason: "only available in 7.9+" features: ["allowed_warnings", "default_shards"] - do: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.stats/20_translog.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.stats/20_translog.yml index e817bc0d27337..8c51d77a3d6c2 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.stats/20_translog.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.stats/20_translog.yml @@ -52,8 +52,6 @@ --- "Translog retention settings are deprecated": - skip: - version: " - 7.6.99" - reason: "translog retention settings are deprecated in 7.6" features: "allowed_warnings" - do: allowed_warnings: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.stats/30_segments.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.stats/30_segments.yml index e39e019805544..b8a2f0c1a145a 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.stats/30_segments.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.stats/30_segments.yml @@ -15,10 +15,6 @@ setup: --- "Segment Stats": - - skip: - version: " - 7.1.99" - reason: forbid_closed_indices is not supported in ealier version - - do: indices.stats: metric: [ segments ] diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/mget/14_alias_to_multiple_indices.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/mget/14_alias_to_multiple_indices.yml index 825dc256d786a..ea20d1cf8c40e 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/mget/14_alias_to_multiple_indices.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/mget/14_alias_to_multiple_indices.yml @@ -1,8 +1,6 @@ --- "Multi Get with alias that resolves to multiple indices": - - skip: - version: " - 7.8.99" - reason: "message was changed to fix grammar in 7.9" + - do: bulk: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/nodes.info/40_aggs.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/nodes.info/40_aggs.yml index 97bb4e86bdf86..c2cf0bbaa2569 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/nodes.info/40_aggs.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/nodes.info/40_aggs.yml @@ -1,8 +1,6 @@ --- "node_info test aggregations": - skip: - version: " - 7.9.99" - reason: "aggregation info only supported in 8.0.0+" features: [arbitrary_key] diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/nodes.reload_secure_settings/10_basic.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/nodes.reload_secure_settings/10_basic.yml index 0866c71b87e12..c74803f683bbc 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/nodes.reload_secure_settings/10_basic.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/nodes.reload_secure_settings/10_basic.yml @@ -3,9 +3,7 @@ setup: features: [arbitrary_key] --- "node_reload_secure_settings test wrong password": - - skip: - version: " - 7.6.99" - reason: "support for reloading password protected keystores was introduced in 7.7.0" + - do: nodes.reload_secure_settings: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/nodes.stats/50_indexing_pressure.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/nodes.stats/50_indexing_pressure.yml index c08f8579e6ece..00e349dfa7c5a 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/nodes.stats/50_indexing_pressure.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/nodes.stats/50_indexing_pressure.yml @@ -1,8 +1,6 @@ --- "Indexing pressure stats": - skip: - version: " - 7.8.99" - reason: "indexing_pressure was added in 7.9" features: [arbitrary_key] - do: @@ -32,8 +30,6 @@ --- "Indexing pressure memory limit": - skip: - version: " - 7.9.99" - reason: "memory limit was added in 7.10" features: [arbitrary_key] - do: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/nodes.stats/60_transport_stats.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/nodes.stats/60_transport_stats.yml index 14e7a6a825781..4f4b97bbcd521 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/nodes.stats/60_transport_stats.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/nodes.stats/60_transport_stats.yml @@ -1,8 +1,6 @@ --- "Transport stats": - skip: - version: " - 7.9.99" - reason: "total_outbound_connections field is not returned in prior versions" features: [arbitrary_key] - do: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/range/10_basic.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/range/10_basic.yml index 20dd6fc614694..dcba1ee53272c 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/range/10_basic.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/range/10_basic.yml @@ -394,9 +394,7 @@ setup: --- "Date range rounding": - - skip: - version: " - 7.6.99" - reason: "This part tests rounding behaviour changed in 7.7" + - do: index: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/scripts/20_get_script_context.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/scripts/20_get_script_context.yml index 64efeb7dfb4ba..73f2252224547 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/scripts/20_get_script_context.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/scripts/20_get_script_context.yml @@ -1,7 +1,5 @@ "Action to get all contexts": - - skip: - version: " - 7.6.0" - reason: "get_all_contexts introduced in 7.6.0" + - do: get_script_context: {} diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/scripts/25_get_script_languages.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/scripts/25_get_script_languages.yml index f4d764324e2dd..771fbad136bd2 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/scripts/25_get_script_languages.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/scripts/25_get_script_languages.yml @@ -1,7 +1,5 @@ "Action to get script languages": - - skip: - version: " - 7.6.0" - reason: "get_script_languages introduced in 7.6.0" + - do: get_script_languages: {} diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/10_histogram.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/10_histogram.yml index 996c2aae8cfe4..0bda4bf360e80 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/10_histogram.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/10_histogram.yml @@ -143,8 +143,6 @@ setup: "Deprecated _time order": - skip: - version: " - 7.1.99" - reason: _time order deprecated in 6.0, replaced by _key. Calendar_interval added in 7.2 features: "allowed_warnings" - do: @@ -199,9 +197,6 @@ setup: --- "date_histogram": - - skip: - version: " - 7.1.99" - reason: calendar_interval introduced in 7.2.0 - do: indices.create: @@ -328,9 +323,7 @@ setup: --- "date_histogram on range": - - skip: - version: " - 7.4.1" - reason: doc values on ranges implemented in 7.4.1 + - do: indices.create: @@ -380,9 +373,7 @@ setup: --- "date_histogram on range with offset": - - skip: - version: " - 7.4.1" - reason: doc values on ranges implemented in 7.4.1 + - do: indices.create: @@ -433,9 +424,7 @@ setup: --- "date_histogram with pre-epoch daylight savings time transition": - - skip: - version: " - 7.6.1" - reason: bug fixed in 7.6.1. + # Add date_nanos to the mapping. We couldn't do it during setup because that # is run against 6.8 which doesn't have date_nanos - do: @@ -493,9 +482,7 @@ setup: --- "histogram profiler": - - skip: - version: " - 7.8.99" - reason: debug info added in 7.9.0 + - do: indices.create: @@ -551,9 +538,7 @@ setup: --- "date_histogram profiler": - - skip: - version: " - 7.8.99" - reason: debug info added in 7.9.0 + - do: indices.create: @@ -602,10 +587,6 @@ setup: --- "histogram with hard bounds": - - skip: - version: " - 7.9.99" - reason: hard_bounds were introduced in 7.10.0 - - do: indices.create: index: test_3 diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/20_terms.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/20_terms.yml index 0fa734b7e5fe9..80a459512e1db 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/20_terms.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/20_terms.yml @@ -1016,9 +1016,7 @@ setup: --- "No field or script": - - skip: - version: " - 7.7.99" - reason: "Exception was a deep, server exception before 7.8" + - do: catch: /Required one of fields \[field, script\], but none were specified/ search: @@ -1028,9 +1026,7 @@ setup: --- "string profiler via global ordinals": - - skip: - version: " - 7.8.99" - reason: debug information added in 7.9.0 + - do: bulk: index: test_1 @@ -1137,9 +1133,7 @@ setup: --- "string profiler via map": - - skip: - version: " - 7.8.99" - reason: debug information added in 7.9.0 + - do: bulk: index: test_1 @@ -1186,9 +1180,7 @@ setup: --- "numeric profiler": - - skip: - version: " - 7.8.99" - reason: debug information added in 7.9.0 + - do: bulk: index: test_1 diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/220_filters_bucket.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/220_filters_bucket.yml index e0183f0c54f66..76e8e54930b5e 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/220_filters_bucket.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/220_filters_bucket.yml @@ -251,9 +251,7 @@ setup: --- "Bad params": - - skip: - version: " - 7.1.99" - reason: "empty bodies throws exception starting in 7.2" + - do: catch: /\[filters\] cannot be empty/ search: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/230_composite.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/230_composite.yml index 68d2a899d46cb..3ff58308494e4 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/230_composite.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/230_composite.yml @@ -243,8 +243,6 @@ setup: --- "Composite aggregation with format": - skip: - version: " - 7.1.99" - reason: calendar_interval introduced in 7.2.0 features: allowed_warnings - do: @@ -308,9 +306,6 @@ setup: --- "Composite aggregation with format and calendar_interval": - - skip: - version: " - 7.1.99" - reason: calendar_interval introduced in 7.2.0 - do: search: @@ -369,9 +364,7 @@ setup: --- "Composite aggregation with date_histogram offset": - - skip: - version: " - 7.5.99" - reason: offset introduced in 7.6.0 + - do: search: @@ -639,9 +632,6 @@ setup: --- "Composite aggregation with unmapped field": - - skip: - version: " - 7.1.99" - reason: starting in 7.2 the composite aggregation handles unmapped fields as keywords - do: search: @@ -720,9 +710,6 @@ setup: --- "Missing source": - - skip: - version: " - 7.1.99" - reason: null/empty sources disallowed in 7.2 - do: catch: /Composite \[sources\] cannot be null or empty/ @@ -749,9 +736,6 @@ setup: --- "Duplicate sources": - - skip: - version: " - 7.1.99" - reason: duplicate names disallowed in 7.2 - do: catch: /Composite source names must be unique, found duplicates[:] \[keyword\]/ @@ -781,9 +765,7 @@ setup: --- "Mixed ip and unmapped fields": - - skip: - version: " - 7.5.99" - reason: This will fail against 7.x until the fix is backported there + # It is important that the index *without* the ip field be sorted *before* # the index *with* the ip field because that has caused bugs in the past. - do: @@ -827,9 +809,7 @@ setup: --- "date_histogram with time_zone": - - skip: - version: " - 7.6.0" - reason: Fixed in 7.6.0 + - do: index: index: test @@ -895,9 +875,7 @@ setup: --- "date_histogram on date_nanos": - - skip: - version: " - 7.6.99" - reason: Fixed in 7.7.0 + - do: indices.create: index: test_nanos @@ -996,9 +974,7 @@ setup: --- "Terms source from part of sorted": - - skip: - version: " - 7.6.99" - reason: fixed in 7.7.0 + - do: indices.create: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/240_max_buckets.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/240_max_buckets.yml index c540814a1690d..7a7d50219302e 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/240_max_buckets.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/240_max_buckets.yml @@ -75,9 +75,6 @@ setup: --- "Max bucket": - - skip: - version: " - 7.2.99" - reason: search.max_buckets limit has been added in 7.0 but this fails spuriously without https://github.com/elastic/elasticsearch/pull/43095 which is in 7.3.0 - do: cluster.put_settings: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/250_moving_fn.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/250_moving_fn.yml index c0a8d2fb4500c..a881670f31efd 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/250_moving_fn.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/250_moving_fn.yml @@ -1,9 +1,6 @@ --- "Bad window": - - skip: - version: " - 7.1.99" - reason: "calendar_interval added in 7.2" - do: catch: /\[window\] must be a positive, non-zero integer\./ @@ -30,8 +27,7 @@ "Bad window deprecated interval": - skip: - version: " - 7.1.99" - reason: "interval deprecation added in 7.2" + features: "allowed_warnings" - do: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/280_rare_terms.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/280_rare_terms.yml index 9048914174133..63a994884e590 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/280_rare_terms.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/280_rare_terms.yml @@ -1,7 +1,5 @@ setup: - - skip: - version: " - 7.2.99" - reason: RareTerms added in 7.3.0 + - do: indices.create: index: test_1 @@ -315,9 +313,7 @@ setup: --- "sub aggs": - - skip: - version: " - 7.6.1" - reason: Sub aggs fixed in 7.6.1 + - do: index: @@ -363,9 +359,7 @@ setup: --- "avg_bucket": - - skip: - version: " - 7.7.99" - reason: Fixed in 7.8.0 + - do: indices.create: index: test diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/300_pipeline.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/300_pipeline.yml index a5c575ab5acee..d4d68a1a04e4d 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/300_pipeline.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/300_pipeline.yml @@ -1,7 +1,5 @@ setup: - - skip: - version: " - 7.1.99" - reason: These new error messages were added in 7.2 + - do: indices.create: @@ -101,9 +99,7 @@ setup: --- "Top level bucket_sort": - - skip: - version: " - 7.7.99" - reason: This validation was changed in 7.8.0 + - do: catch: /bucket_sort aggregation \[the_bad_bucket_sort\] must be declared inside of another aggregation/ diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/30_sig_terms.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/30_sig_terms.yml index d7759afe4a907..661f7a74675ce 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/30_sig_terms.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/30_sig_terms.yml @@ -140,9 +140,7 @@ --- 'Misspelled fields get "did you mean"': - - skip: - version: " - 7.6.99" - reason: Implemented in 8.0 (to be backported to 7.7) + - do: catch: /\[significant_terms\] unknown field \[jlp\] did you mean \[jlh\]\?/ search: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/310_date_agg_per_day_of_week.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/310_date_agg_per_day_of_week.yml index 10037bf737a7b..513b3a9d170ae 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/310_date_agg_per_day_of_week.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/310_date_agg_per_day_of_week.yml @@ -1,8 +1,6 @@ setup: - skip: - version: " - 7.6.99" - reason: "Start of the week Monday was enabled in a backport to 7.7 PR#50916" features: "spi_on_classpath_jdk9" - do: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/330_auto_date_histogram.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/330_auto_date_histogram.yml index fc82517788c91..fd25120c6d4f9 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/330_auto_date_histogram.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/330_auto_date_histogram.yml @@ -26,9 +26,7 @@ setup: --- "basic": - - skip: - version: " - 7.8.99" - reason: interval had a in bug before 7.9.0 + - do: search: rest_total_hits_as_int: true @@ -49,9 +47,7 @@ setup: --- "avg_bucket": - - skip: - version: " - 7.7.99" - reason: Fixed in 7.8.0 + - do: search: body: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/340_geo_distance.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/340_geo_distance.yml index 1ad0a563c4937..5e577c8a504d5 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/340_geo_distance.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/340_geo_distance.yml @@ -47,9 +47,7 @@ setup: --- "avg_bucket": - - skip: - version: " - 7.7.99" - reason: Fixed in 7.8.0 + - do: search: body: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/360_date_histogram.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/360_date_histogram.yml index fe143653c0674..950e67d51ecce 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/360_date_histogram.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/360_date_histogram.yml @@ -1,7 +1,5 @@ setup: - - skip: - version: " - 7.1.99" - reason: calendar_interval introduced in 7.2.0 + - do: indices.create: @@ -36,9 +34,6 @@ setup: --- "date_histogram on range with hard bounds": - - skip: - version: " - 7.9.99" - reason: hard_bounds introduced in 7.10.0 - do: search: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/40_range.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/40_range.yml index 9e138eb6b2ad6..7ecca633ce9ea 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/40_range.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/40_range.yml @@ -226,9 +226,6 @@ setup: --- "IP Range avg_bucket": - - skip: - version: " - 7.7.99" - reason: Fixed in 7.8.0 - do: bulk: refresh: true @@ -391,9 +388,6 @@ setup: --- "Date range unmapped with children": - - skip: - version: " - 7.9.99" - reason: Fixed in 7.10.0 - do: indices.create: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/50_filter.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/50_filter.yml index 2b02c0447e6c8..dbbffbe36242a 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/50_filter.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/50_filter.yml @@ -105,9 +105,7 @@ setup: --- "Sorting terms": - - skip: - version: " - 7.6.99" - reason: fixed in 7.7.0 + - do: bulk: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/70_adjacency_matrix.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/70_adjacency_matrix.yml index 8b1956c6152d2..b9925e619f2f3 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/70_adjacency_matrix.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/70_adjacency_matrix.yml @@ -67,9 +67,7 @@ setup: --- "Terms lookup": - - skip: - version: " - 7.8.99" - reason: fixed in 7.9.0 + - do: bulk: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/80_typed_keys.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/80_typed_keys.yml index d041432556430..3c51621952d46 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/80_typed_keys.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/80_typed_keys.yml @@ -205,9 +205,7 @@ setup: --- "Test typed keys parameter for date_histogram aggregation and max_bucket pipeline aggregation": - - skip: - version: " - 7.1.99" - reason: "calendar_interval added in 7.2" + - do: search: rest_total_hits_as_int: true diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search.highlight/40_keyword_ignore.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search.highlight/40_keyword_ignore.yml index fe4f36364d2db..5be9b92b87baa 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search.highlight/40_keyword_ignore.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search.highlight/40_keyword_ignore.yml @@ -23,9 +23,7 @@ setup: --- "Plain Highligher should skip highlighting ignored keyword values": - - skip: - version: " - 7.6.99" - reason: "skip highlighting of ignored values was introduced in 7.7" + - do: search: index: test-index @@ -44,9 +42,7 @@ setup: --- "Unified Highligher should skip highlighting ignored keyword values": - - skip: - version: " - 7.6.99" - reason: "skip highlighting of ignored values was introduced in 7.7" + - do: search: index: test-index diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search/110_field_collapsing.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search/110_field_collapsing.yml index 78134336ea45e..455b348e7433b 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search/110_field_collapsing.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search/110_field_collapsing.yml @@ -161,9 +161,6 @@ setup: --- "field collapsing, inner_hits, and fields": - - skip: - version: " - 7.9.99" - reason: the fields option was added in 7.10 - do: search: rest_total_hits_as_int: true @@ -424,9 +421,7 @@ setup: --- "field collapsing on a field alias": - - skip: - version: " - 7.5.1" - reason: the bug fix was introduced in 7.5.2 + - do: indices.create: index: alias-test diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search/220_total_hits_object.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search/220_total_hits_object.yml index 0aad77c02cb1f..17c63f5b577e7 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search/220_total_hits_object.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search/220_total_hits_object.yml @@ -55,10 +55,6 @@ setup: --- "hits.total as an object": - - skip: - version: " - 7.0.99" - reason: hits.total is rendered as an object in 7.0.0 - - do: search: index: _all diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search/230_interval_query.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search/230_interval_query.yml index 0b9172e0740ea..71f57417fc393 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search/230_interval_query.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search/230_interval_query.yml @@ -652,9 +652,6 @@ setup: --- "Test before": - - skip: - version: " - 7.1.99" - reason: "Implemented in 7.2" - do: search: index: test @@ -672,9 +669,6 @@ setup: --- "Test after": - - skip: - version: " - 7.1.99" - reason: "Implemented in 7.2" - do: search: index: test @@ -693,9 +687,7 @@ setup: --- "Test prefix": - - skip: - version: " - 7.2.99" - reason: "Implemented in 7.3" + - do: search: index: test @@ -713,9 +705,7 @@ setup: --- "Test wildcard": - - skip: - version: " - 7.2.99" - reason: "Implemented in 7.3" + - do: search: index: test @@ -733,9 +723,7 @@ setup: --- "Test fuzzy match": - - skip: - version: " - 7.5.99" - reason: "Implemented in 7.6" + - do: search: index: test diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search/240_date_nanos.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search/240_date_nanos.yml index fb5c3268a3c82..563eb3f59a76c 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search/240_date_nanos.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search/240_date_nanos.yml @@ -127,9 +127,7 @@ setup: --- "date histogram aggregation with date and date_nanos mapping": - - skip: - version: " - 7.1.99" - reason: calendar_interval introduced in 7.2.0 + - do: bulk: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search/250_distance_feature.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search/250_distance_feature.yml index bafb7d52c7186..4ce678061f64e 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search/250_distance_feature.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search/250_distance_feature.yml @@ -1,7 +1,5 @@ setup: - - skip: - version: " - 7.1.99" - reason: "Implemented in 7.2" + - do: indices.create: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search/310_match_bool_prefix.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search/310_match_bool_prefix.yml index aa6a5158b4795..9299243acb49c 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search/310_match_bool_prefix.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search/310_match_bool_prefix.yml @@ -1,7 +1,5 @@ setup: - - skip: - version: " - 7.1.99" - reason: "added in 7.2.0" + - do: indices.create: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search/320_disallow_queries.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search/320_disallow_queries.yml index 7135c8642736c..ab31a97fb1608 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search/320_disallow_queries.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search/320_disallow_queries.yml @@ -1,8 +1,6 @@ --- setup: - - skip: - version: " - 7.6.99" - reason: "implemented in 7.7.0" + - do: indices.create: @@ -34,9 +32,7 @@ setup: --- teardown: - - skip: - version: " - 7.6.99" - reason: "implemented in 7.7.0" + - do: cluster.put_settings: @@ -46,9 +42,7 @@ teardown: --- "Test disallow expensive queries": - - skip: - version: " - 7.6.99" - reason: "implemented in 7.7.0" + ### Check for initial setting = null -> false - do: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search/330_distributed_sort.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search/330_distributed_sort.yml index 57846ccee5ab9..f8a86b3c201c5 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search/330_distributed_sort.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search/330_distributed_sort.yml @@ -38,9 +38,6 @@ setup: --- "test distributed sort can rewrite query to match no docs": - - skip: - version: " - 7.6.99" - reason: "distributed sort optimization was added in 7.7.0" - do: index: index: index_1 diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search/330_fetch_fields.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search/330_fetch_fields.yml index 03b24fd85ae52..206c2996753d1 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search/330_fetch_fields.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search/330_fetch_fields.yml @@ -1,8 +1,3 @@ -setup: - - skip: - version: " - 7.9.99" - reason: "the 'fields' parameter was added in 7.10" - --- "Test basic field retrieval": - do: @@ -262,9 +257,6 @@ setup: --- "Test token count": - - skip: - version: " - 7.9.99" - reason: "support for token_count was instroduced in 7.10" - do: indices.create: index: test diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search/90_search_after.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/search/90_search_after.yml index ebecb63dedbaf..89fc705a24b34 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/search/90_search_after.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search/90_search_after.yml @@ -94,9 +94,6 @@ --- "date": - - skip: - version: " - 7.9.99" - reason: fixed in 7.10.0 - do: indices.create: @@ -184,9 +181,6 @@ --- "date_nanos": - - skip: - version: " - 7.9.99" - reason: fixed in 7.10.0 - do: indices.create: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/snapshot.clone/10_basic.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/snapshot.clone/10_basic.yml index fb289355e08fb..e3de0f294ea15 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/snapshot.clone/10_basic.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/snapshot.clone/10_basic.yml @@ -33,9 +33,6 @@ setup: --- "Clone a snapshot": - - skip: - version: " - 7.9.99" - reason: "Clone snapshot functionality was introduced in 7.10" - do: snapshot.clone: repository: test_repo_create_1 diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/snapshot.create/10_basic.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/snapshot.create/10_basic.yml index ee831e78c74a6..3a6d2b5d8526e 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/snapshot.create/10_basic.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/snapshot.create/10_basic.yml @@ -40,9 +40,7 @@ setup: --- "Create a snapshot and clean up repository": - - skip: - version: " - 7.3.99" - reason: cleanup introduced in 7.4 + - do: snapshot.cleanup_repository: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/snapshot.get/10_basic.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/snapshot.get/10_basic.yml index 57a4cb55852a5..f6ee0e7ca733a 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/snapshot.get/10_basic.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/snapshot.get/10_basic.yml @@ -152,9 +152,6 @@ setup: --- "Get snapshot info with metadata": - - skip: - version: " - 7.2.99" - reason: "Introduced with 7.3" - do: indices.create: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/update/16_noop.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/update/16_noop.yml index dfdf2a10c84fc..e4e08efbeabf3 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/update/16_noop.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/update/16_noop.yml @@ -1,8 +1,5 @@ --- "Noop": - - skip: - version: " - 7.3.99" - reason: "Noop does not return seq_no and primary_term until 7.4.0" - do: index: index: test_1 diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/update/90_error.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/update/90_error.yml index 9a48d24783b44..45f6dac31479d 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/update/90_error.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/update/90_error.yml @@ -1,8 +1,6 @@ --- 'Misspelled fields get "did you mean"': - - skip: - version: " - 7.5.99" - reason: Implemented in 7.6 + - do: catch: /\[UpdateRequest\] unknown field \[dac\] did you mean \[doc\]\?/ update: diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/update/95_require_alias.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/update/95_require_alias.yml index f6c95ebd2463e..2b6c99d1532e8 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/update/95_require_alias.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/update/95_require_alias.yml @@ -1,8 +1,5 @@ --- "Set require_alias flag": - - skip: - version: " - 7.9.99" - reason: "require_alias flag added in 7.10" - do: catch: missing update: