You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Mona Chitnis (JIRA)" <ji...@apache.org> on 2013/08/06 23:22:48 UTC

[jira] [Updated] (OOZIE-1405) Fix flakey SLA tests

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

Mona Chitnis updated OOZIE-1405:
--------------------------------

    Attachment: OOZIE-1405.patch

Unable to reproduce test error in comment#1

Attaching small 1-line change in KillXCommand which was queueing Wf Action events even for ControlNodes e.g. :start:, :end: etc. That solves the flaky unit test TestSLAEventGeneration. Running the complete suite now to check
                
> Fix flakey SLA tests
> --------------------
>
>                 Key: OOZIE-1405
>                 URL: https://issues.apache.org/jira/browse/OOZIE-1405
>             Project: Oozie
>          Issue Type: Sub-task
>            Reporter: Rohini Palaniswamy
>            Assignee: Rohini Palaniswamy
>             Fix For: trunk
>
>         Attachments: 1405-part.patch, OOZIE-1405-part2.patch, OOZIE-1405.patch
>
>
> The SLA tests keep failing randomly because they rely on Thread.sleep. Would be better to execute all test case scenarios and then assert everything in order from eventQueue to avoid flakey failures.
> Similar for time-sensitive TestEventGeneration tests e.g. - org.apache.oozie.event.TestEventGeneration.testCoordinatorActionEvent

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira