Details
-
Bug
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
None
-
None
-
None
Description
TestIOUtils unnecessary extends XTestCase that makes the execution time of the test case really long:
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 20.675 sec Results : Tests run: 4, Failures: 0, Errors: 0, Skipped: 0
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:
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
Attachments
Attachments
Issue Links
- is related to
-
OOZIE-2838 TestClassUtils,TestJsonUtils,TestWritableUtils,TestXmlUtils shall not be an Oozie XTestCase
- Closed