You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oozie.apache.org by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org> on 2011/10/14 02:16:12 UTC

[jira] [Commented] (OOZIE-581) Fix unit test failure in TestStatusTransitService.java

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

jiraposter@reviews.apache.org commented on OOZIE-581:
-----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/2386/
-----------------------------------------------------------

Review request for oozie, Mohammad Islam and Angelo K. Huang.


Summary
-------

Test case TestStatusTransitService::testCoordStatusTransitServiceKilledByUser1() fails due to race condition between status service and the check assertEquals(true, coordJob.isPending()). The kill action has already been completed by the time assertion is checked.


This addresses bug OOZIE-581.
    https://issues.apache.org/jira/browse/OOZIE-581


Diffs
-----

  http://svn.apache.org/repos/asf/incubator/oozie/trunk/core/src/test/java/org/apache/oozie/service/TestStatusTransitService.java 1181872 

Diff: https://reviews.apache.org/r/2386/diff


Testing
-------


Thanks,

Prakhar


                
> Fix unit test failure in TestStatusTransitService.java
> ------------------------------------------------------
>
>                 Key: OOZIE-581
>                 URL: https://issues.apache.org/jira/browse/OOZIE-581
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Prakhar Sharma
>            Priority: Minor
>
> Test case TestStatusTransitService::testCoordStatusTransitServiceKilledByUser1() fails due to race condition between status service and the check assertEquals(true, coordJob.isPending()). The kill action has already been completed by the time assertion is checked. Working on the fix.

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