Do not create the monitoring index before the exporter service is started.

This prevents the template from being applied.

relates elastic/x-pack-elasticsearch#1308

Original commit: elastic/x-pack-elasticsearch@c9fcea42ce
This commit is contained in:
Adrien Grand 2017-05-04 14:40:32 +02:00
parent 2290b93aa3
commit ea31227a89
1 changed files with 0 additions and 5 deletions

View File

@ -169,11 +169,6 @@ public class LocalExporterTests extends MonitoringIntegTestCase {
}
}
if (randomBoolean()) {
// create the monitoring data index to check if its mappings are correctly updated
createIndex(DATA_INDEX);
}
Settings.Builder exporterSettings = Settings.builder()
.put("xpack.monitoring.exporters._local.enabled", true);