mirror of
https://github.com/Graylog2/graylog2-server.git
synced 2026-03-13 09:32:21 +08:00
Fixed env propagation for datanodes opensearch (#15458)
This commit is contained in:
@@ -29,6 +29,7 @@ class EnvironmentTest {
|
||||
void testFiltering() {
|
||||
final Environment env = new Environment(Map.of("USER", "test", "JAVA_HOME", "/path/to/jre"));
|
||||
Assertions.assertThat(env.getEnv())
|
||||
.doesNotContainKey("JAVA_HOME");
|
||||
.doesNotContainKey("JAVA_HOME")
|
||||
.containsKey("USER");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user