mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-05 20:48:22 +00:00
[TEST] add path.home to settings
This commit is contained in:
parent
334763acef
commit
91e9caabd7
@ -67,6 +67,7 @@ public class InternalSettingsPreparerTests extends ElasticsearchTestCase {
|
||||
// test that we can read config files with .yaml, .json, and .properties suffixes
|
||||
Tuple<Settings, Environment> tuple = InternalSettingsPreparer.prepareSettings(settingsBuilder()
|
||||
.put("config.ignore_system_properties", true)
|
||||
.put("path.home", createTempDir().toString())
|
||||
.build(), true);
|
||||
|
||||
assertThat(tuple.v1().get("yaml.config.exists"), equalTo("true"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user