tests: add limits to elasticsearch test container (#16292)

This commit is contained in:
Imri Paran 2024-05-17 16:04:58 +02:00 committed by GitHub
parent a3bc276165
commit 868d83d5c1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -162,6 +162,7 @@ public abstract class OpenMetadataApplicationTest {
ELASTIC_SEARCH_CONTAINER.withPassword("password");
ELASTIC_SEARCH_CONTAINER.withEnv("discovery.type", "single-node");
ELASTIC_SEARCH_CONTAINER.withEnv("xpack.security.enabled", "false");
ELASTIC_SEARCH_CONTAINER.withEnv("ES_JAVA_OPTS", "-Xms1g -Xmx1g");
ELASTIC_SEARCH_CONTAINER.withReuse(false);
ELASTIC_SEARCH_CONTAINER.withStartupAttempts(3);
ELASTIC_SEARCH_CONTAINER.setWaitStrategy(