You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@storm.apache.org by "Stig Rohde Døssing (JIRA)" <ji...@apache.org> on 2019/06/01 09:23:00 UTC

[jira] [Updated] (STORM-2991) Use MockConsumer for tests where possible in storm-kafka-client instead of using a raw Mockito mock

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

Stig Rohde Døssing updated STORM-2991:
--------------------------------------
    Labels: newbie  (was: )

> 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
>              Labels: newbie
>
> 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)