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

Virag Kothari commented on OOZIE-975:
-------------------------------------

Had a chat with tucu, will summarize the two issues here:

1) Load all the services classes for test cases. If there is any conflict due 
to the already running services in any test case, remove them in the specific 
test's case setUp() method. Any new test case should be designed considering 
this fact.

2) The services.destroy() may not be shutting down all the running threads and 
needs to be fixed. This will be done in a separate JIRA.


                
> Test cases should not load all the services classes
> ---------------------------------------------------
>
>                 Key: OOZIE-975
>                 URL: https://issues.apache.org/jira/browse/OOZIE-975
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Virag Kothari
>            Assignee: Virag Kothari
>         Attachments: kill-output.txt
>
>
> Some services classes loaded as part of services.init() interfere with the 
> actual test case causing them to break.
> TestPauseTransitSErvice, TestPurgeService, TestActionCheckerService keep 
> failing intermittently.
> Related pre-commit build links:
> https://builds.apache.org/job/oozie-trunk-precommit-build/58/testReport/junit/org.apache.oozie.service/TestPauseTransitService/testUnpauseBundleAndCoordinator/
> https://builds.apache.org/job/oozie-trunk-precommit-build/55/testReport/junit/org.apache.oozie.service/TestActionCheckerService/testActionCheckerServiceCoord/

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

Reply via email to