Description
TestPurgeXCommand is the longest java source file of Oozie, more than 4000 rows.
As part of the Purge Service rewrite we need to use this file to make sure we don't introduce new bugs and probably we also need to add a few more test cases. Before that it would be useful to cleanup this file and extract redundant code to new methods to make the code shorter and more manageable.
The patch uploaded to OOZIE-3400 introduced three new test cases to this file and shows a simple way to make it shorter.
Attachments
Attachments
Issue Links
- is blocked by
-
OOZIE-3400 [core] Fix PurgeService sub-sub-workflow checking
- Closed
- relates to
-
OOZIE-3252 Flaky TestPurgeXCommand methods
- Open
- links to