lordofthejars/nosql-unit — pull request #76 by ochrons (2013-04-30 06:12:24+00:00)
Title: Updated to cassandra-unit 1.1.2.1 and therefore to Cassandra 1.2.0.

Hi,

We wanted to use NoSQL Unit in our Scala project that is using the latest Cassandra version. Since the current NoSQL Unit only supported Cassandra 1.1, I made the changes to support 1.2. There were also some issues in integration tests that were not really Cassandra version dependent (like using @Rule instead of @ClassRule which caused multiple cassandra instances to try to start at the same port, failing) that I fixed as well.

Cassandra nowadays has three different system keyspaces, so changed the test code to reflect that.

cu-cassandra.yaml is now based on the one that comes with Cassandra 1.2.0

POM was updated to use forking in integration tests since Cassandra doesn't really die properly unless the whole JVM comes down. Somedependencies and exclusions were also changed.

Integration tests in WhenManagedCassandraLifecycleIsManaged did not mock everything properly so the code actually tries to read the directory "/opt/cassandra" and if it's not found the tests will fail. I disabled these tests for now.

--
Otto Chrons, CTO
Microtask Ltd.
Mob +358 50 359 1401 Fax +358 9 4241 2728 Skype: ochrons