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

Add tests for the Hint service metrics

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 4.0.1, 4.1
    • Component/s: Test/dtest/python
    • Labels:
      None
    • Change Category:
      Quality Assurance
    • Complexity:
      Low Hanging Fruit
    • Test and Documentation Plan:
      Hide

      in "test_hintedhandoff_metrics" we start up two nodes, then kill one before inserting new data in the first node, so that we trigger node1 to start hints handoff. which prompts the metrics class to be initialized and relevant mbeans to be created.

      then we use jmx client to query the metrics and assert if the values are populated as expected.

      Show
      in "test_hintedhandoff_metrics" we start up two nodes, then kill one before inserting new data in the first node, so that we trigger node1 to start hints handoff. which prompts the metrics class to be initialized and relevant mbeans to be created. then we use jmx client to query the metrics and assert if the values are populated as expected.

      Description

      There are currently no tests for the hint metrics

        Attachments

        1. 0001-added-hints-metrics-test.patch
          8 kB
          Mohamed Zafraan

          Issue Links

            Activity

              People

              • Assignee:
                adelapena Andres de la Peña
                Reporter:
                blerer Benjamin Lerer
                Authors:
                Andres de la Peña
                Reviewers:
                Benjamin Lerer
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m