Reign in Cassandra memory consumption when running tests
The environment variables are the same as the Cassandra Testcontainers uses.
This commit is contained in:
@@ -4,4 +4,9 @@ services:
|
||||
ports:
|
||||
- '9042'
|
||||
environment:
|
||||
- 'CASSANDRA_SNITCH=GossipingPropertyFileSnitch'
|
||||
- 'JVM_OPTS=-Dcassandra.skip_wait_for_gossip_to_settle=0 -Dcassandra.initial_token=0'
|
||||
- 'HEAP_NEWSIZE=128M'
|
||||
- 'MAX_HEAP_SIZE=1024M'
|
||||
- 'CASSANDRA_ENDPOINT_SNITCH=GossipingPropertyFileSnitch'
|
||||
- 'CASSANDRA_DC=dc1'
|
||||
|
||||
Reference in New Issue
Block a user