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 99b91b8 commit b1cdaf9Copy full SHA for b1cdaf9
modules/cassandra/src/main/java/org/testcontainers/containers/CassandraContainer.java
@@ -58,8 +58,15 @@ public CassandraContainer(DockerImageName dockerImageName) {
58
dockerImageName.assertCompatibleWith(DEFAULT_IMAGE_NAME);
59
60
addExposedPort(CQL_PORT);
61
- setStartupAttempts(3);
62
this.enableJmxReporting = false;
+
63
+ withEnv("CASSANDRA_SNITCH", "GossipingPropertyFileSnitch");
64
+ withEnv(
65
+ "JVM_OPTS",
66
+ "-Dcassandra.skip_wait_for_gossip_to_settle=0 -Dcassandra.initial_token=0"
67
+ );
68
+ withEnv("HEAP_NEWSIZE", "128M");
69
+ withEnv("MAX_HEAP_SIZE", "1024M");
70
}
71
72
@Override
0 commit comments