Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-8977

Remove MockStreamsMetrics Since it is not a Mock

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: streams
    • Labels:

      Description

      The class MockStreamsMetrics is used throughout unit tests as a mock but it is not really a mock since it only hides two parameters of the StreamsMetricsImpl constructor. Either a real mock or the real StreamsMetricsImpl should be used in the tests.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bibin84 bibin sebastian
                Reporter:
                cadonna Bruno Cadonna
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: