Skip to content

Tests for indices.put_template use illegal action #25694

@honzakral

Description

@honzakral

https://github.com/elastic/elasticsearch/blob/master/rest-api-spec/src/main/resources/rest-api-spec/test/indices.put_template/10_basic.yml#L221-L225 uses a directive raw which is not documented in the test specifications (https://github.com/elastic/elasticsearch/blob/master/rest-api-spec/src/main/resources/rest-api-spec/test/README.asciidoc) and it is not marked with a skip.feature to ensure forwards compatibility of all the clients.

My suggestion is to remove the test since it is anyway something that seems to belong more in a Java-based test - typically the REST tests serve to check the declared API (not raw requests) and that checks the required parameters in the client side so this test would never be possible.

This affects all versions >= 5.5.0

Metadata

Metadata

Assignees

Labels

>testIssues or PRs that are addressing/adding tests

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions