[TEST] add path.home to settings

This commit is contained in:
Britta Weber 2015-05-28 11:54:56 +02:00
parent 334763acef
commit 91e9caabd7
1 changed files with 1 additions and 0 deletions

View File

@ -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"));