Making sure that Cassandra starts running correctly



Sometimes your tests get error because Cassandra isn’t fully up and running.

To make sure Cassandra is running, you can call the following command before running your tests.

curl -sSL | sh

This will wait for 50 seconds at maximum until Cassandra becomes ready.


Thanks @kimh.