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

Test case for windows service where JAVA_HOME path contains spaces #53028

Merged

Conversation

williamrandolph
Copy link
Contributor

We lacked test coverage for the case where the path to Java contained special characters; this commit adds it. This missing case was exposed by #52676.

We lacked test coverage for the case where the path to Java contained
special characters; this commit adds it.
@williamrandolph williamrandolph added >non-issue >test Issues or PRs that are addressing/adding tests :Delivery/Packaging RPM and deb packaging, tar and zip archives, shell and batch scripts v8.0.0 v7.7.0 labels Mar 2, 2020
@williamrandolph williamrandolph requested a review from rjernst March 2, 2020 19:23
@elasticmachine
Copy link
Collaborator

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

Copy link
Contributor

@pugnascotia pugnascotia left a comment

Choose a reason for hiding this comment

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

LGTM

@williamrandolph
Copy link
Contributor Author

That's funny. I forgot to update this branch to include the commit that would make these new tests pass. So I guess that helps confirm that these tests do in fact check what they're supposed to check.

@williamrandolph williamrandolph merged commit ce07e30 into elastic:master Mar 3, 2020
williamrandolph added a commit to williamrandolph/elasticsearch that referenced this pull request Mar 3, 2020
…lastic#53028)

* Test case where JAVA_HOME path contains spaces

We lacked test coverage for the case where the path to Java contained
special characters; this commit adds it.

* Apply spotless formatting

* Only test changing JDK paths on jdk builds

* Remove unused import
williamrandolph added a commit that referenced this pull request Mar 3, 2020
… (#53057)

* Handle special chars in JAVA_HOME in elasticsearch-service.bat (#52676)

* Test case for windows service where JAVA_HOME path contains spaces (#53028)

Co-authored-by: Muhammad Shaheer Akram <[email protected]>
williamrandolph added a commit to williamrandolph/elasticsearch that referenced this pull request Mar 5, 2020
…ic#52676) (elastic#53057)

* Handle special chars in JAVA_HOME in elasticsearch-service.bat (elastic#52676)

* Test case for windows service where JAVA_HOME path contains spaces (elastic#53028)

Co-authored-by: Muhammad Shaheer Akram <[email protected]>
williamrandolph added a commit that referenced this pull request Mar 5, 2020
… (#53057) (#53141)

* Handle special chars in JAVA_HOME in elasticsearch-service.bat (#52676)

* Test case for windows service where JAVA_HOME path contains spaces (#53028)

Co-authored-by: Muhammad Shaheer Akram <[email protected]>
@williamrandolph williamrandolph deleted the java-home-special-char-tests branch March 6, 2020 14:56
@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/Packaging RPM and deb packaging, tar and zip archives, shell and batch scripts >non-issue Team:Delivery Meta label for Delivery team >test Issues or PRs that are addressing/adding tests v7.7.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants