Tests: fix compilation

This commit is contained in:
Robert Muir 2015-05-05 14:22:53 -04:00
parent bee93a51fe
commit df60412c29
1 changed files with 2 additions and 1 deletions

View File

@ -57,9 +57,10 @@ public abstract class AbstractGceTest extends ElasticsearchIntegrationTest {
protected Settings nodeSettings(int nodeOrdinal) {
ImmutableSettings.Builder settings = ImmutableSettings.builder()
.put(super.nodeSettings(nodeOrdinal))
.put("path.home", createTempDir())
.put("plugins." + PluginsService.LOAD_PLUGIN_FROM_CLASSPATH, true);
Environment environment = new Environment();
Environment environment = new Environment(settings.build());
// if explicit, just load it and don't load from env
try {