Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-1018

Ability to close tables for embeddable cassandra

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Duplicate
    • 0.7 beta 1
    • 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.

      Attachments

        1. tables.patch
          0.5 kB
          Cliff Moon

        Activity

          People

            Unassigned Unassigned
            moonpolysoft Cliff Moon
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: