cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Burton <bur...@spinn3r.com>
Subject embedding cassandra in junit ..
Date Thu, 12 Jun 2014 03:02:56 GMT
Maybe this is an anti-pattern.. please feel free to flame me if that's the
case ;)

I'd like to embed cassandra in junit so that I can test my database code
from my laptop and also get it working in our integration.

The general idea is to start with a clean slate, run cassandra, create
tables, simulate production load, then shutdown.

This page:

http://wiki.apache.org/cassandra/Embedding

seems to hint that it's possible.

of course.. there are some tests here that make it more complicated - like
quorum read.  but for right now I'll settle for one replica.

-- 

Founder/CEO Spinn3r.com
Location: *San Francisco, CA*
Skype: *burtonator*
blog: http://burtonator.wordpress.com
… or check out my Google+ profile
<https://plus.google.com/102718274791889610666/posts>
<http://spinn3r.com>
War is peace. Freedom is slavery. Ignorance is strength. Corporations are
people.

Mime
View raw message