FWIW we run a 3 node cluster with ccm on Travis to regression test the
gocql driver - here's the descriptor:
https://github.com/gocql/gocql/blob/master/.travis.yml

On Mon, Oct 13, 2014 at 9:04 PM, Philip Thompson <
philip.thomp...@datastax.com> wrote:

> Kevin,
>
> Have you looked at the Cassandra integration tests used by the Cassandra
> development team: https://github.com/riptano/cassandra-dtest ? They make
> use of CCM for integration testing: https://github.com/pcmanus/ccm
>
> Philip Thompson
>
> On Mon, Oct 13, 2014 at 2:50 PM, Kevin Burton <bur...@spinn3r.com> wrote:
>
>> Curious to see if any of you have an elegant solution here.
>>
>> Right now I”m using cassandra unit;
>>
>> https://github.com/jsevellec/cassandra-unit
>>
>> for my integration tests.
>>
>> The biggest problem is that it doesn’t support shutdown.  so I can’t stop
>> or cleanup after cassandra between tests.
>>
>> I have other Java daemons that have the same problem.  For example,
>> ActiveMQ doesn’t clean up after itself.
>>
>> I was *thinking* of using docker or vagrant to startup a daemon in a
>> container, then shut it down between tests.
>>
>> But this seems difficult to setup and configure … as well as being not
>> amazingly portable.
>>
>> Another solution is to use a test suite, and a setUp/tearDown that drops
>> all tables created by a test.   This way you’re still on the same cassandra
>> instance, but the tables are removed for each pass.
>>
>> Anyone have an elegant solution to this?
>>
>> --
>>
>> Founder/CEO Spinn3r.com
>> Location: *San Francisco, CA*
>> blog: http://burtonator.wordpress.com
>> … or check out my Google+ profile
>> <https://plus.google.com/102718274791889610666/posts>
>> <http://spinn3r.com>
>>
>>
>

Reply via email to