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

Add tests to cover CacheMetrics

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 4.0-beta2, 4.0
    • Component/s: Test/unit
    • Labels:
      None

      Description

      CacheMetrics and ChunkCacheMetrics do not have unit tests covering them. CachingBench seems to provide some coverage but those tests (which don't appear to run as part of the standard run of unit tests) are failing and do not assert against all defined metrics, nor do they seem to assert code in InstrumentingCache which also incremented metrics.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                spmallette Stephen Mallette
                Reporter:
                spmallette Stephen Mallette
                Authors:
                Stephen Mallette
                Reviewers:
                Michael Semb Wever
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: