diff --git a/rest-api-spec/test/indices.delete_alias/20_regression_3364.yaml b/rest-api-spec/test/indices.delete_alias/20_regression_3364.yaml new file mode 100644 index 00000000000..52832fca463 --- /dev/null +++ b/rest-api-spec/test/indices.delete_alias/20_regression_3364.yaml @@ -0,0 +1,21 @@ +--- +"Regression tests for #3363 and #3364": + - skip: + version: "0 - 0.90.2" + reason: "Get source not supported in pre 0.90.1 versions." + + - do: + catch: request + indices.delete_alias: {} + + - do: + catch: request + indices.delete_alias: + index: test + + - do: + catch: request + indices.delete_alias: + name: test + + diff --git a/rest-api-spec/test/indices.put_alias/20_regression_3364.yaml b/rest-api-spec/test/indices.put_alias/20_regression_3364.yaml new file mode 100644 index 00000000000..6a7b2a33be9 --- /dev/null +++ b/rest-api-spec/test/indices.put_alias/20_regression_3364.yaml @@ -0,0 +1,21 @@ +--- +"Regression tests for #3363 and #3364": + - skip: + version: "0 - 0.90.2" + reason: "Get source not supported in pre 0.90.1 versions." + + - do: + catch: request + indices.put_alias: {} + + - do: + catch: request + indices.put_alias: + index: test + + - do: + catch: request + indices.put_alias: + name: test + +