You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "Robert Joseph Evans (JIRA)" <ji...@apache.org> on 2016/01/11 16:15:40 UTC

[jira] [Resolved] (STORM-1404) Fix Mockito test failures in storm-kafka

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

Robert Joseph Evans resolved STORM-1404.
----------------------------------------
       Resolution: Fixed
    Fix Version/s: 0.11.0

[~wheat9],

Looks like this was merged into master recently.  Resolving the JIRA to finish the process.

> 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
>             Fix For: 0.11.0
>
>
> {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)