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:
parent
2290b93aa3
commit
ea31227a89
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue