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

>git status< should be clean after >mvn test< was called

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.0b1
    • Fix Version/s: 5.0.0
    • Component/s: tests
    • Labels:
      None

      Description

      After running TestDistcpMain, local files created are not removed. Subsequent test runs will reuse those files and fail:

      $ ls -lrt /home/asasvari/workspace/oozie/core/distcp*
      -rw-rw-r-- 1 asasvari asasvari 1025 Dec 21 18:25 /home/asasvari/workspace/oozie/core/distcp-log4j.properties
      -rw-rw-r-- 1 asasvari asasvari 5756 Dec 21 18:26 /home/asasvari/workspace/oozie/core/distcp-oozie-1513876931701.log
      

      Those files should be removed after test execution. It would be better to use the oozie/core/target directory so that mvn could clean it.

        Attachments

        1. OOZIE-3145-003.patch
          13 kB
          Julia Kinga Marton
        2. OOZIE-3145-002.patch
          13 kB
          Julia Kinga Marton
        3. OOZIE-3145-001.patch
          14 kB
          Julia Kinga Marton
        4. Oozie_test_garbage.png
          349 kB
          Julia Kinga Marton

          Issue Links

            Activity

              People

              • Assignee:
                kmarton Julia Kinga Marton
                Reporter:
                asasvari Attila Sasvari
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: