Hi,
 
Using EmbeddedCassandra Serivce inside Junit Tests(BEFORECLASS) and tests are 
running fine and no issues. Code to start the cassandra is something like the 
following:
 
BUT the issue is when i try to get the data using cassandra-cli, i am not 
getting any results. the data cleanup happens only in BEFORECLASS.
 
So any thing I am missing here and what is the reason for unable to get the 
data?
 
try {
CassandraServiceDataCleaner cleaner = new CassandraServiceDataCleaner();
cleaner.prepare();
EmbeddedCassandraService cassandra = new EmbeddedCassandraService();
cassandra.init();
Thread t = new Thread(cassandra);
t.setDaemon(true);
t.start();

}
catch (Exception e) {
e.printStackTrace();
}


      

Reply via email to