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

Robert Kanter commented on OOZIE-957:
-------------------------------------

I haven't actually done any work on this yet, but I was discussing it with 
Alejandro, and we decided it was because of the Thread.sleep() calls; they 
should be using waitFor() instead.  There may also be other tests using 
Thread.sleep() that should be updated as well.  

Is this what you came up with too?  
                
> TestStatusTransitService and TestCoordKillXCommand are failing randomly,
> ------------------------------------------------------------------------
>
>                 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: 
> 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}

--
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