falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Balu Vellanki (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-1843) Falcon build failure - org.apache.falcon.messaging.JMSMessageConsumerTest
Date Mon, 29 Feb 2016 23:54:18 GMT

    [ https://issues.apache.org/jira/browse/FALCON-1843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15172902#comment-15172902
] 

Balu Vellanki commented on FALCON-1843:
---------------------------------------

There seem to be three consumer queues now, since lateRerunConsumer is added to the consumer
list. The fix is to change expected consumer count to 3 from 2. 

> Falcon build failure - org.apache.falcon.messaging.JMSMessageConsumerTest
> -------------------------------------------------------------------------
>
>                 Key: FALCON-1843
>                 URL: https://issues.apache.org/jira/browse/FALCON-1843
>             Project: Falcon
>          Issue Type: Bug
>          Components: falcon-unit
>    Affects Versions: 0.9
>            Reporter: Balu Vellanki
>            Assignee: Balu Vellanki
>             Fix For: 0.10
>
>
> Error seen is this.
> {code}
> Running org.apache.falcon.messaging.JMSMessageConsumerTest
> Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 3.855 sec <<<
FAILURE! - in org.apache.falcon.messaging.JMSMessageConsumerTest
> testJMSMessagesForOozieCoord(org.apache.falcon.messaging.JMSMessageConsumerTest)  Time
elapsed: 0.14 sec  <<< FAILURE!
> org.mockito.exceptions.verification.NeverWantedButInvoked:
> workflowJobEndNotificationService.notifySuccess(
>     <any>
> );
> Never wanted here:
> -> at org.apache.falcon.messaging.JMSMessageConsumerTest.testJMSMessagesForOozieCoord(JMSMessageConsumerTest.java:276)
> But invoked here:
> -> at org.apache.falcon.messaging.JMSMessageConsumer.invokeListener(JMSMessageConsumer.java:221)
> 	at org.apache.falcon.messaging.JMSMessageConsumerTest.testJMSMessagesForOozieCoord(JMSMessageConsumerTest.java:276)
> {code}
> This was fixed by renaming @BeforeMethod from setup() to init().  The fix resulted in
following error 
> {code}
> Tests run: 3, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 3.857 sec <<<
FAILURE! - in org.apache.falcon.messaging.JMSMessageConsumerTest
> testJMSMessagesForOozieCoord(org.apache.falcon.messaging.JMSMessageConsumerTest)  Time
elapsed: 0.036 sec  <<< FAILURE!
> java.lang.AssertionError: expected:<2> but was:<3>
> 	at org.testng.Assert.fail(Assert.java:89)
> 	at org.testng.Assert.failNotEquals(Assert.java:489)
> 	at org.testng.Assert.assertEquals(Assert.java:118)
> 	at org.testng.Assert.assertEquals(Assert.java:260)
> 	at org.testng.Assert.assertEquals(Assert.java:270)
> 	at org.apache.falcon.messaging.JMSMessageConsumerTest.testJMSMessagesForOozieCoord(JMSMessageConsumerTest.java:273)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message