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

Stig Rohde Døssing reassigned STORM-2991:
-----------------------------------------

    Assignee:     (was: Stig Rohde Døssing)

> Use MockConsumer for tests where possible in storm-kafka-client instead of 
> using a raw Mockito mock
> ---------------------------------------------------------------------------------------------------
>
>                 Key: STORM-2991
>                 URL: https://issues.apache.org/jira/browse/STORM-2991
>             Project: Apache Storm
>          Issue Type: Improvement
>          Components: storm-kafka-client
>    Affects Versions: 2.0.0
>            Reporter: Stig Rohde Døssing
>            Priority: Trivial
>
> MockConsumer seems like it will be less brittle for testing than using a raw 
> Mockito mock, e.g. we don't have to manually stub the Consumer.position call. 
> We should try to replace the mocks in existing tests.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to