Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-3406 [Umbrella] Reimplement Purge Service
  3. OOZIE-3408

Create new unit test class for PurgeXCommand

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Won't Do
    • None
    • None
    • tests
    • None

    Description

      There is one unit test class for PurgeXCommand, TestPurgeXCommand which needs to be cleaned up. This class tests the selection of the purgeable records. Most of the test cases are rather small, only a few workflows, coordinators, bundles have to be checked.

      It is also very important that purge service works correctly if large number of records has to be checked. Purge service should not only select the purgeable records correctly, it has to do that in a fast and memory efficient ways.

      Since TestPurgeXCommand is already very large, a new class should be introduced to contain these tests. Probably the two classes will have a common superclass.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: