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

TopicCommandWithAdminClientTest should use mocks

    XMLWordPrintableJSON

    Details

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

      Description

      The TopicCommandWithAdminClientTest class currently sets up a few brokers for every test case which is wasteful and slow. We should improve it by mocking out the broker behavior (maybe use MockAdminClient?).

        Attachments

          Activity

            People

            • Assignee:
              ddhirajkumar Dhiraj Dwarapudi
              Reporter:
              viktorsomogyi Viktor Somogyi-Vass
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated: