[TEST] Fix one last test that was missed in elastic/x-pack-elasticsearch#649

Original commit: elastic/x-pack-elasticsearch@1039197afd
This commit is contained in:
David Roberts 2017-02-27 09:55:49 +00:00
parent 2ca1ddf017
commit e2f5715191
1 changed files with 4 additions and 0 deletions

View File

@ -17,6 +17,7 @@ import org.elasticsearch.license.PutLicenseResponse;
import org.elasticsearch.plugins.Plugin; import org.elasticsearch.plugins.Plugin;
import org.elasticsearch.xpack.XPackPlugin; import org.elasticsearch.xpack.XPackPlugin;
import org.elasticsearch.xpack.XPackSettings; import org.elasticsearch.xpack.XPackSettings;
import org.elasticsearch.xpack.ml.MachineLearning;
import org.junit.AfterClass; import org.junit.AfterClass;
import java.io.IOException; import java.io.IOException;
@ -81,6 +82,9 @@ public class LicensingTribeIT extends ESIntegTestCase {
builder.put(XPackSettings.MONITORING_ENABLED.getKey(), false); builder.put(XPackSettings.MONITORING_ENABLED.getKey(), false);
builder.put(XPackSettings.WATCHER_ENABLED.getKey(), false); builder.put(XPackSettings.WATCHER_ENABLED.getKey(), false);
builder.put(XPackSettings.GRAPH_ENABLED.getKey(), false); builder.put(XPackSettings.GRAPH_ENABLED.getKey(), false);
builder.put(XPackSettings.MACHINE_LEARNING_ENABLED.getKey(), false);
// Disable native ML autodetect_process as the c++ controller won't be available
builder.put(MachineLearning.AUTODETECT_PROCESS.getKey(), false);
return builder.build(); return builder.build();
} }