jsevellec / cassandra-unit

Utility tool to load Data into Cassandra to help you writing good isolated JUnit Test into your application
GNU Lesser General Public License v3.0
424 stars 0 forks source link

Add an isRunning method to EmbeddedCassandraServerHelper #318

Open asarkar opened 4 years ago

asarkar commented 4 years ago

Since there's no good way to stop the server, it is helpful to know if it's already running. This can be trivially achieved by checking EmbeddedCassandraServerHelper.cassandraDaemon != null in an isRunning public method.