Re: How to stop Cassandra running in embeded mode

2010-07-20 Thread Jesse McConnell
separate jvm is the only mechanism to 'shutdown' in a test scenario right nowand its unlikely to change in the short term so designing around forking is your best bet cheers, jesse -- jesse mcconnell jesse.mcconn...@gmail.com On Tue, Jul 20, 2010 at 05:47, Bjorn Borud wrote: > Jonathan El

Re: How to stop Cassandra running in embeded mode

2010-07-20 Thread Bjorn Borud
Jonathan Ellis writes: > there's some support for this in 0.7 (see > http://issues.apache.org/jira/browse/CASSANDRA-1018) but fundamentally > it's not really designed to be started and stopped multiple times > within the same process. I am currently struggling with some of the same issues (on 0.

Re: How to stop Cassandra running in embeded mode

2010-07-14 Thread Ran Tavory
look at my pom. it has alwayshttp://github.com/rantav/hector/blob/master/pom.xml#L95 On Wed, Jul 14, 2010 at 3:02 PM, Andriy Kopachevsky wrote: > Ran, I do know to run jest in own thread with maven surefire plugin, but > don't sure how can I do this with own JVM for each test. How are you doing >

Re: How to stop Cassandra running in embeded mode

2010-07-14 Thread Andriy Kopachevsky
Ran, I do know to run jest in own thread with maven surefire plugin, but don't sure how can I do this with own JVM for each test. How are you doing this? Thanks. On Fri, Jul 9, 2010 at 10:33 PM, Ran Tavory wrote: > The workaround I do is fork always. Each test pulls up its own jvm. > > On Jul 9,

Re: How to stop Cassandra running in embeded mode

2010-07-09 Thread Ran Tavory
The workaround I do is fork always. Each test pulls up its own jvm. On Jul 9, 2010 9:51 PM, "Jonathan Ellis" wrote: there's some support for this in 0.7 (see http://issues.apache.org/jira/browse/CASSANDRA-1018) but fundamentally it's not really designed to be started and stopped multiple times w

Re: How to stop Cassandra running in embeded mode

2010-07-09 Thread Jonathan Ellis
there's some support for this in 0.7 (see http://issues.apache.org/jira/browse/CASSANDRA-1018) but fundamentally it's not really designed to be started and stopped multiple times within the same process. On Thu, Jul 8, 2010 at 3:44 AM, Andriy Kopachevsky wrote: > Hi, we are trying to set up inter

How to stop Cassandra running in embeded mode

2010-07-08 Thread Andriy Kopachevsky
Hi, we are trying to set up intergation testing for Cassanrda, so we need to run and stop it as embeded service. Don't have any problem to start cassandra: import org.apache.cassandra.contrib.utils.service.CassandraServiceDataCleaner; class SomeTestClass { @Before public void setup() thr