forked from elastic/elasticsearch
-
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.
Use pid identify die-with-dignity process
The die-with-dignity test forces an OOM in Elasticsearch and sees that it dies appropriately. The test first asserts the correct ES process is running, and that that process no longer exists after forcing the OOM. Unfortunately the way of identifying the pid through jps args doesn't always work (see https://bugs.openjdk.java.net/browse/JDK-7091209). Instead, this commit passes the known pid for the test cluster through to the die-with-dignity test, so that it can check for the pid instead of the command line options. closes elastic#77282
- Loading branch information
Showing
3 changed files
with
26 additions
and
30 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
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