You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "Jungtaek Lim (JIRA)" <ji...@apache.org> on 2015/10/09 21:30: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 ]

Jungtaek Lim resolved STORM-943.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 0.11.0

Already merged STORM-938 contains this patch.

> 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: storm-hive
>            Reporter: Aaron Dossett
>            Assignee: Aaron Dossett
>            Priority: Trivial
>             Fix For: 0.11.0
>
>
> 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)