forked from elastic/logstash
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: respect LS_JAVA_OPTS environment even when optionsfile missing (e…
…lastic#13525) * fix: respect LS_JAVA_OPTS environment even when optionsfile missing * Fixed integration tests * Added unit test to cover the fix * Wipe commented code * Removed redundant log in a path that could never be reached * Moved jvm.options checks into only one place * javaopts: provide injection point for environment string Co-authored-by: andsel <[email protected]>
- Loading branch information
Showing
3 changed files
with
78 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
logstash-core/src/test/java/org/logstash/launchers/JvmOptionsParserTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters