You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Viktor Somogyi-Vass (Jira)" <ji...@apache.org> on 2019/10/16 11:04:00 UTC

[jira] [Created] (KAFKA-9049) TopicCommandWithAdminClientTest should use mocks

Viktor Somogyi-Vass created KAFKA-9049:
------------------------------------------

             Summary: TopicCommandWithAdminClientTest should use mocks
                 Key: KAFKA-9049
                 URL: https://issues.apache.org/jira/browse/KAFKA-9049
             Project: Kafka
          Issue Type: Improvement
          Components: unit tests
    Affects Versions: 2.5.0
            Reporter: Viktor Somogyi-Vass


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}}?). 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)