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

E2E: make sure WithVersion is called in elasticsearch.Builder #5775

Merged
merged 1 commit into from
Jun 15, 2022

Conversation

pebrc
Copy link
Collaborator

@pebrc pebrc commented Jun 15, 2022

Otherwise snapshot tests will fail due to different snapshot versions of Elasticsearch being in use at the same time which are not compatible with each other:

"address [10.112.80.116:9300], node [null], requesting [false] discovery result: Failed to deserialize response from handler [org.elasticsearch.transport.TransportService$ContextRestoreResponseHandler/org.elasticsearch.transport.TransportService$ContextRestoreResponseHandler/org.elasticsearch.action.ActionListenerResponseHandler@7a8d374/org.elasticsearch.action.ActionListener$DelegatingFailureActionListener/org.elasticsearch.action.ActionListener$MappedActionListener/org.elasticsearch.discovery.HandshakingTransportAddressConnector$1@5e5489a6/org.elasticsearch.transport.TransportService$$Lambda$5956/0x0000000801b8d658@3e551386/org.elasticsearch.transport.TransportService$$Lambda$5957/0x0000000801b8dac8@5f5d47e8]: remote node [{test-autoscaling-l5nw-es-master-0}{Nrymty08TcCczIDsMZiVsA}{xNbsCxaoSlC0YIVTnaclpg}{test-autoscaling-l5nw-es-master-0}{10.112.80.116}{10.112.80.116:9300}{m}{k8s_node_name=gke-eck-8x-snapshot-603--default-pool-ee6c7ee9-lmpg, xpack.installed=true}] is build [d81727ae3481ed320802a5520d02356aab9aed09] of version [8.3.0] but this node is build [ed782f880f50c2ca0c1c0f4e0..."

is a typically error message that we see as a result.

@pebrc pebrc added the >test Related to unit/integration/e2e tests label Jun 15, 2022
Copy link
Contributor

@barkbay barkbay left a comment

Choose a reason for hiding this comment

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

LGTM

@pebrc pebrc merged commit 351574b into elastic:main Jun 15, 2022
@thbkrkr thbkrkr added the v2.4.0 label Jun 17, 2022
fantapsody pushed a commit to fantapsody/cloud-on-k8s that referenced this pull request Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>test Related to unit/integration/e2e tests v2.4.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants