diff --git a/src/test/java/com/powsybl/network/conversion/server/elasticsearch/EmbeddedElasticsearch.java b/src/test/java/com/powsybl/network/conversion/server/elasticsearch/EmbeddedElasticsearch.java index a528329..996197e 100644 --- a/src/test/java/com/powsybl/network/conversion/server/elasticsearch/EmbeddedElasticsearch.java +++ b/src/test/java/com/powsybl/network/conversion/server/elasticsearch/EmbeddedElasticsearch.java @@ -41,6 +41,7 @@ public void postConstruct() { envMap.put("xpack.security.enabled", Boolean.FALSE.toString()); envMap.put("ingest.geoip.downloader.enabled", Boolean.FALSE.toString()); envMap.put("ES_JAVA_OPTS", "-Xms128m -Xmx128m"); + envMap.put("action.auto_create_index", "false"); elasticsearchContainer.start(); System.setProperty("spring.data.elasticsearch.embedded", Boolean.toString(true));