Andras Salamon created OOZIE-3407:
-------------------------------------

             Summary: Cleanup TestPurgeXCommand
                 Key: OOZIE-3407
                 URL: https://issues.apache.org/jira/browse/OOZIE-3407
             Project: Oozie
          Issue Type: Improvement
    Affects Versions: trunk
            Reporter: Andras Salamon
            Assignee: Andras Salamon
             Fix For: 5.2.0


[TestPurgeXCommand|https://github.com/apache/oozie/blob/master/core/src/test/java/org/apache/oozie/command/TestPurgeXCommand.java]
 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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to