falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peeyush Bishnoi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-1513) Flaky test: org.apache.falcon.messaging.JMSMessageConsumerTest
Date Wed, 07 Oct 2015 06:22:27 GMT

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

Peeyush Bishnoi commented on FALCON-1513:
-----------------------------------------

On looking the issue, it looks like that count of elements sent to the destination is not
coming proper on build machines for upgraded Activemq 5.12.0. 

{code:java}
Assert.assertEquals(adminView.getTotalEnqueueCount(), 11);
{code}

But while running this test case in my environment (mac os), count is coming as expected.
If falcon build fails again with similar exception, we will disable the tests to avoid further
failure and debug it.

> Flaky test: org.apache.falcon.messaging.JMSMessageConsumerTest
> --------------------------------------------------------------
>
>                 Key: FALCON-1513
>                 URL: https://issues.apache.org/jira/browse/FALCON-1513
>             Project: Falcon
>          Issue Type: Sub-task
>    Affects Versions: 0.7
>            Reporter: Sowmya Ramesh
>             Fix For: trunk
>
>
> {code}
> org.apache.falcon.messaging.JMSMessageConsumerTest
> testSubscriber(org.apache.falcon.messaging.JMSMessageConsumerTest)  Time elapsed: 0.732
sec  <<< FAILURE!
> java.lang.AssertionError: expected:<11> but was:<10>
> 	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.testSubscriber(JMSMessageConsumerTest.java:145)
> {code}



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

Mime
View raw message