Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XPack/HLRC request/response compatibility tests #34547

Merged

Conversation

vladimirdolzhenko
Copy link
Contributor

Actually we don't have any validation for the compatibility of XPack requests/responses and HLRC implementation of those requests/responses.

This PR is to fill this gap

note: while we have xpack/protocol these tests could not be run due to jar hell.

Relates to #34451

@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra

@nik9000
Copy link
Member

nik9000 commented Oct 17, 2018

A while ago I started hacking together a thing in AbstractXContentTestCase.xContentTester which I think might be useful for this sort of stuff. It isn't finished, but I think you could modify it make it do that job. I think that has the advantage of bringing along all of our default client testing stuff like adding extra fields and changing the order.

@vladimirdolzhenko vladimirdolzhenko changed the base branch from hlrc_xprotocol_cleanup_1 to hlrc_xprotocol_cleanup_2 October 19, 2018 16:00
Copy link
Member

@nik9000 nik9000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm happy with this! Do you want to drop the WIP tag?

@vladimirdolzhenko vladimirdolzhenko changed the base branch from hlrc_xprotocol_cleanup_2 to master October 29, 2018 13:22
@vladimirdolzhenko
Copy link
Contributor Author

@nik9000 this PR at the latest stage as far as all preliminary PRs are merged, could you pls have another look into it ?

@nik9000
Copy link
Member

nik9000 commented Oct 30, 2018

Wonderful!

@vladimirdolzhenko vladimirdolzhenko merged commit 28bb1a3 into elastic:master Oct 31, 2018
vladimirdolzhenko added a commit to vladimirdolzhenko/elasticsearch that referenced this pull request Oct 31, 2018
vladimirdolzhenko added a commit that referenced this pull request Oct 31, 2018
Relates #34451 , backports #34547

(cherry picked from commit 28bb1a3)
@vladimirdolzhenko vladimirdolzhenko deleted the hlrc_xprotocol_response_tests branch November 7, 2018 19:49
@jpountz jpountz added the >test Issues or PRs that are addressing/adding tests label Jan 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>test Issues or PRs that are addressing/adding tests v7.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants