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

Fix issue where runtime Java was not properly respected for test cluster #51557

Merged
merged 1 commit into from
Jan 28, 2020

Conversation

mark-vieira
Copy link
Contributor

This is a follow up to #51505 in which we weren't properly setting JAVA_HOME of local test clusters to the configured RUNTIME_JAVA_HOME due to the way were were comparing version strings. VersionProperterties.getElasticsearch() includes a -SNAPSHOT suffix so comparing strings won't work. We now compare the Version objects themselves such that 8.0.0 and 8.0.0-SNAPSHOT are considered to be the same version.

Signed-off-by: Mark Vieira <portugee@gmail.com>
@mark-vieira mark-vieira added :Delivery/Build Build or test infrastructure v8.0.0 labels Jan 28, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (:Core/Infra/Build)

Copy link
Member

@rjernst rjernst left a comment

Choose a reason for hiding this comment

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

LGTM

@mark-vieira mark-vieira merged commit 4630c8d into elastic:master Jan 28, 2020
@mark-vieira mark-vieira added the Team:Delivery Meta label for Delivery team label Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Delivery/Build Build or test infrastructure Team:Delivery Meta label for Delivery team v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants