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 check if cassandra is running (with Java)?

Thanks.
Salih Kardan