mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-03 20:19:31 +00:00
tests: add limits to elasticsearch test container (#16292)
This commit is contained in:
parent
a3bc276165
commit
868d83d5c1
@ -162,6 +162,7 @@ public abstract class OpenMetadataApplicationTest {
|
|||||||
ELASTIC_SEARCH_CONTAINER.withPassword("password");
|
ELASTIC_SEARCH_CONTAINER.withPassword("password");
|
||||||
ELASTIC_SEARCH_CONTAINER.withEnv("discovery.type", "single-node");
|
ELASTIC_SEARCH_CONTAINER.withEnv("discovery.type", "single-node");
|
||||||
ELASTIC_SEARCH_CONTAINER.withEnv("xpack.security.enabled", "false");
|
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.withReuse(false);
|
||||||
ELASTIC_SEARCH_CONTAINER.withStartupAttempts(3);
|
ELASTIC_SEARCH_CONTAINER.withStartupAttempts(3);
|
||||||
ELASTIC_SEARCH_CONTAINER.setWaitStrategy(
|
ELASTIC_SEARCH_CONTAINER.setWaitStrategy(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user