mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-27 17:10:22 -04:00
Add optional pull request check for running with entitlements enabled (#118693)
This commit is contained in:
parent
0a6ce27825
commit
e454d74de4
6 changed files with 57 additions and 4 deletions
|
@ -876,10 +876,8 @@ public class ElasticsearchNode implements TestClusterConfiguration {
|
|||
// Don't inherit anything from the environment for as that would lack reproducibility
|
||||
environment.clear();
|
||||
environment.putAll(getESEnvironment());
|
||||
if (cliJvmArgs.isEmpty() == false) {
|
||||
String cliJvmArgsString = String.join(" ", cliJvmArgs);
|
||||
environment.put("CLI_JAVA_OPTS", cliJvmArgsString);
|
||||
}
|
||||
String cliJvmArgsString = String.join(" ", cliJvmArgs);
|
||||
environment.put("CLI_JAVA_OPTS", cliJvmArgsString + " " + System.getProperty("tests.jvm.argline", ""));
|
||||
|
||||
// Direct the stderr to the ES log file. This should capture any jvm problems to start.
|
||||
// Stdout is discarded because ES duplicates the log file to stdout when run in the foreground.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue