[
https://issues.apache.org/jira/browse/STORM-1404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15089788#comment-15089788
]
ASF GitHub Bot commented on STORM-1404:
---------------------------------------
Github user haohui commented on the pull request:
https://github.com/apache/storm/pull/993#issuecomment-170101211
Merged in 1f1ba77be849e50cdc09fcfe08dcec8f4984b4f9
> Fix Mockito test failures in storm-kafka
> ----------------------------------------
>
> Key: STORM-1404
> URL: https://issues.apache.org/jira/browse/STORM-1404
> Project: Apache Storm
> Issue Type: Sub-task
> Components: storm-core
> Reporter: Derek Dagit
> Assignee: Haohui Mai
> Priority: Minor
>
> {noformat}
> Tests run: 8, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 17.194 sec
> <<< FAILURE! - in storm.kafka.bolt.KafkaBoltTest
> executeWithByteArrayKeyAndMessageAsync(storm.kafka.bolt.KafkaBoltTest) Time
> elapsed: 3.526 sec <<< FAILURE!
> org.mockito.exceptions.verification.WantedButNotInvoked:
> Wanted but not invoked:
> collector.ack(
> source: null:1, stream: , id: {}, [[B@29e2aabd, [B@603773c6]
> );
> -> at
> storm.kafka.bolt.KafkaBoltTest.executeWithByteArrayKeyAndMessageAsync(KafkaBoltTest.java:144)
> However, there were other interactions with this mock:
> -> at
> backtype.storm.task.OutputCollector.reportError(OutputCollector.java:223)
> -> at backtype.storm.task.OutputCollector.fail(OutputCollector.java:218)
> at
> storm.kafka.bolt.KafkaBoltTest.executeWithByteArrayKeyAndMessageAsync(KafkaBoltTest.java:144)
> {noformat}
> Seen [here|https://travis-ci.org/apache/storm/jobs/97734764#L352]
> Not sure about how often this happens, but it is definitely not 100% of the
> time.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)