Re: Check out if Cassandra ready

2013-11-01 Thread Tom van den Berge
I recommend using CassandraUnit (https://github.com/jsevellec/cassandra-unit). It makes using Cassandra in unit tests quite easy. It allows you to start an embedded Cassandra synchronously with a single simple method call, optionally load your schema and initial data, and you're ready to start tes

Check out if Cassandra ready

2013-11-01 Thread Salih Kardan
Hi all, I am a newbie to Cassandra and I am tring to write test cases to cassandra with JUnit. I use CassandraDaemon class to start cassandra in IntelliJ IDEA. I want to wait until Cassandra up and running before runnig test methods. How can I wait until cassandra starts or is there any way to che