|
|
|
|
@ -109,7 +109,7 @@ public enum TestImage {
@@ -109,7 +109,7 @@ public enum TestImage {
|
|
|
|
|
/** |
|
|
|
|
* A container image suitable for testing Elasticsearch 7. |
|
|
|
|
*/ |
|
|
|
|
ELASTICSEARCH("docker.elastic.co/elasticsearch/elasticsearch", "7.17.5", () -> ElasticsearchContainer.class, |
|
|
|
|
ELASTICSEARCH("docker.elastic.co/elasticsearch/elasticsearch", "7.17.28", () -> ElasticsearchContainer.class, |
|
|
|
|
(container) -> ((ElasticsearchContainer) container).withEnv("ES_JAVA_OPTS", "-Xms32m -Xmx512m") |
|
|
|
|
.withStartupAttempts(5) |
|
|
|
|
.withStartupTimeout(Duration.ofMinutes(10))), |
|
|
|
|
|