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

Attila Sasvari commented on OOZIE-2835:
---------------------------------------

Thanks!

> TestIOUtils shall not be an XTestCase
> -------------------------------------
>
>                 Key: OOZIE-2835
>                 URL: https://issues.apache.org/jira/browse/OOZIE-2835
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Attila Sasvari
>            Assignee: Attila Sasvari
>            Priority: Trivial
>             Fix For: 5.0.0
>
>         Attachments: OOZIE-2835.01.patch, OOZIE-2835.02.patch
>
>
> TestIOUtils unnecessary extends XTestCase that makes the execution time of 
> the test case really long:
> {code}
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 20.675 sec
> Results :
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0
> {code}
> XTestCase sets up Oozie services which is not needed for testing IOUtils, 
> that's why it takes ~20 seconds.
> If we make TestIOUtils a true unit test class, the execution time of the 
> tests could be drastically reduced:
> {code}
> Running org.apache.oozie.util.TestIOUtils
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec
> Results :
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0
> {code} 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to