VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.1.0
    • 5.2.0
    • tests
    • None

    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

        1. OOZIE-3407-03.patch
          235 kB
          Andras Salamon
        2. OOZIE-3407-02.patch
          225 kB
          Andras Salamon
        3. OOZIE-3407-01.patch
          225 kB
          Andras Salamon

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            asalamon74 Andras Salamon
            asalamon74 Andras Salamon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment