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 https://s3.amazonaws.com/circle-downloads/wait-for-cassandra.sh | sh

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

2 Likes

Thanks @kimh.