|
|
@ -53,7 +53,7 @@ class ElasticsearchRestClientAutoConfigurationIntegrationTests {
|
|
|
|
|
|
|
|
|
|
|
|
@Container
|
|
|
|
@Container
|
|
|
|
static final ElasticsearchContainer elasticsearch = new ElasticsearchContainer(DockerImageNames.elasticsearch())
|
|
|
|
static final ElasticsearchContainer elasticsearch = new ElasticsearchContainer(DockerImageNames.elasticsearch())
|
|
|
|
.withEnv("ES_JAVA_OPTS", "-Xmx1g")
|
|
|
|
.withEnv("ES_JAVA_OPTS", "-Xms32m -Xmx512m")
|
|
|
|
.withStartupAttempts(5)
|
|
|
|
.withStartupAttempts(5)
|
|
|
|
.withStartupTimeout(Duration.ofMinutes(10));
|
|
|
|
.withStartupTimeout(Duration.ofMinutes(10));
|
|
|
|
|
|
|
|
|
|
|
|