falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pallavi Rao (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (FALCON-1496) Flaky FalconPostProcessingTest
Date Fri, 12 Feb 2016 06:57:18 GMT

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

Pallavi Rao edited comment on FALCON-1496 at 2/12/16 6:57 AM:
--------------------------------------------------------------

This happens because 1 message is sent per output feed name and the test assumes that the
messages arrive in order. Since the messages are sent asynchronously, the messages may arrive
out of order. Will fix the test to not consider the order of messages.


was (Author: pallavi.rao):
This happens because 1 message is send per output feed name and test assumes that the messages
arrive in order. Since it is async messages, the messages may arrive out of order. Will fix
the test to not consider the order of messages.

> Flaky FalconPostProcessingTest
> ------------------------------
>
>                 Key: FALCON-1496
>                 URL: https://issues.apache.org/jira/browse/FALCON-1496
>             Project: Falcon
>          Issue Type: Sub-task
>            Reporter: Pallavi Rao
>            Assignee: Pallavi Rao
>             Fix For: trunk
>
>
> Exception :
> {code}
> testProcessMessageCreator(org.apache.falcon.oozie.workflow.FalconPostProcessingTest)
 Time elapsed: 0.608 sec  <<< FAILURE!
> java.lang.AssertionError: expected:<out-click-logs> but was:<out-raw-logs>
>         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:171)
>         at org.testng.Assert.assertEquals(Assert.java:181)
>         at org.apache.falcon.oozie.workflow.FalconPostProcessingTest.verifyMesssage(FalconPostProcessingTest.java:196)
>         at org.apache.falcon.oozie.workflow.FalconPostProcessingTest.consumer(FalconPostProcessingTest.java:179)
>         at org.apache.falcon.oozie.workflow.FalconPostProcessingTest.access$000(FalconPostProcessingTest.java:44)
> {code}



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

Mime
View raw message