Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-943

In TestHiveBolt make the collector mock slightly more precise

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 1.0.0
    • storm-hive
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              dossett Aaron Blake Niskode-Dossett
              dossett@gmail.com Aaron Dossett
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: