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

Robert Kanter updated OOZIE-957:
--------------------------------

    Attachment: OOZIE-957.patch
    
> TestStatusTransitService and TestCoordKillXCommand are failing randomly; 
> replace Thread.sleep()
> -----------------------------------------------------------------------------------------------
>
>                 Key: OOZIE-957
>                 URL: https://issues.apache.org/jira/browse/OOZIE-957
>             Project: Oozie
>          Issue Type: Bug
>          Components: tests
>    Affects Versions: trunk
>            Reporter: Alejandro Abdelnur
>            Assignee: Robert Kanter
>             Fix For: trunk
>
>         Attachments: OOZIE-957.patch, 
> org.apache.oozie.service.TestStatusTransitService-output.txt, 
> org.apache.oozie.service.TestStatusTransitService.txt
>
>
> {code}
> Failed tests:   
> testCoordStatusTransitServicePaused(org.apache.oozie.service.TestStatusTransitService):
>  expected:<RUNNINGWITHERROR> but was:<PAUSEDWITHERROR>
>   
> testBundleStatusTransitServiceSucceeded2(org.apache.oozie.service.TestStatusTransitService):
>  expected:<SUCCEEDED> but was:<RUNNING>
>   
> testCoordStatusTransitServiceSuspendedWithError(org.apache.oozie.service.TestStatusTransitService):
>  expected:<SUSPENDEDWITHERROR> but was:<SUSPENDED>
> Tests in error: 
>   
> testCoordKillSuccess1(org.apache.oozie.command.coord.TestCoordKillXCommand): 
> The transaction has been rolled back.  See the nested exceptions for details 
> on the errors that occurred.
> {code}
> We should replace all calls to Thread.sleep() in tests with a call to 
> waitFor() so that oozie.test.waitfor.ratio will scale them (unless there is a 
> specific reason not to).  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to