We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5732a8 commit 69555eeCopy full SHA for 69555ee
modules/elasticsearch/src/main/java/org/testcontainers/elasticsearch/ElasticsearchContainer.java
@@ -98,6 +98,8 @@ public ElasticsearchContainer(final DockerImageName dockerImageName) {
98
99
withNetworkAliases("elasticsearch-" + Base58.randomString(6));
100
withEnv("discovery.type", "single-node");
101
+ // disable disk threshold checks
102
+ withEnv("cluster.routing.allocation.disk.threshold_enabled", "false");
103
// Sets default memory of elasticsearch instance to 2GB
104
// Spaces are deliberate to allow user to define additional jvm options as elasticsearch resolves option files lexicographically
105
withClasspathResourceMapping(
0 commit comments