Skip to content

Add wire serialization tests for internal index requests. #49507

@jtibshirani

Description

@jtibshirani

Some internal request objects do not have good unit test coverage around wire serialization. In particular, the following test classes extend ESTestCase, but it would be better if they implemented AbstractWireSerializingTestCase to extensively test wire serialization:

  • PutMappingRequestTests
  • PutIndexTemplateRequestTests
  • CreateIndexRequestTests

Note that the testEqualsAndHashcode cases will currently fail because these requests do not override equals and hashCode.

Metadata

Metadata

Assignees

No one assigned

    Labels

    :Data Management/Indices APIsDO NOT USE. Use ":Distributed/Indices APIs" or ":StorageEngine/Templates" instead.>testIssues or PRs that are addressing/adding testsTeam:Data Management (obsolete)DO NOT USE. This team no longer exists.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions