Skip to content

Rest Tests for Painless do not respect the API spec #25737

@honzakral

Description

@honzakral

In (0) you can see a test that uses lang instead of id to get around the bug fixed by #25736

This test, however, should be failing since it doesn't specify both lang and id which are marked as required in the API spec. This suggests that either the test is not being run as it should or that the test runner doesn't check for all required attributes.

0 - https://github.com/elastic/elasticsearch/blob/5.x/modules/lang-painless/src/test/resources/rest-api-spec/test/painless/16_update2.yaml#L7-L9

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions