Details
-
Improvement
-
Status: Resolved
-
Low
-
Resolution: Duplicate
-
None
-
None
Description
I would like to make Cassandra more embeddable in order to use it from within application unit tests. Unfortunately, just nuking directories with CassandraServiceDataCleaner doesn't completely isolate test cases within a single running JVM. In-memory table objects are kept in a static hash map. This patch adds a close method that will remove table instances from the static hash map.