You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "Aaron Dossett (JIRA)" <ji...@apache.org> on 2015/07/17 00:08:05 UTC

[jira] [Resolved] (STORM-943) In TestHiveBolt make the collector mock slightly more precise

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

Aaron Dossett resolved STORM-943.
---------------------------------
    Resolution: Fixed

> In TestHiveBolt make the collector mock slightly more precise
> -------------------------------------------------------------
>
>                 Key: STORM-943
>                 URL: https://issues.apache.org/jira/browse/STORM-943
>             Project: Apache Storm
>          Issue Type: Improvement
>          Components: external
>            Reporter: Aaron Dossett
>            Assignee: Aaron Dossett
>            Priority: Trivial
>
> The OutputCollector passed to bolt.prepare() can be mocked directly instead of mocking an IOutputCollector used to construct the collector each time. This makes the tests slightly more readable and it will be easier to verify more complex interactions with the collector in the future if needed.
> Resolved by this PR: https://github.com/apache/storm/pull/583



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)