You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Dhiraj Dwarapudi (Jira)" <ji...@apache.org> on 2019/12/01 06:21:00 UTC

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

     [ https://issues.apache.org/jira/browse/KAFKA-9049?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dhiraj Dwarapudi reassigned KAFKA-9049:
---------------------------------------

    Assignee: Dhiraj Dwarapudi

> 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
>            Assignee: Dhiraj Dwarapudi
>            Priority: Minor
>              Labels: easy, newbie, newbie++
>
> 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)