Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-3165

Ensure that tests do not create junk in the project folder

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • tests
    • None

    Description

      Now that kmarton cleaned up all the junk our tests were creating as part of OOZIE-3145 we should extend our pre-commit check to make sure no tmp files will be around after the tests are run.

       

      We should extend our pre-commit checks with this logic. It should be something like:

      1. make sure git s returns nothing (I think this is already part of our pre-commit)
      2. apply the patch
      3. make a git add . or git commit -am "tmp" or something similar so we can decide whether a change is part of the patch or not.
      4. run tests
      5. call git status to check if any of the git tracked files are changed or any new ones are added during test runs
      6. add -1 to the pre-commit report if there are files laying around after the tests

      Attachments

        Activity

          People

            Unassigned Unassigned
            gezapeti Gézapeti
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: