Derek Dagit created STORM-1404:
----------------------------------

             Summary: 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
            Reporter: Derek Dagit
            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)

Reply via email to