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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.0.0b1
    • 5.0.0
    • tests
    • 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_test_garbage.png
          349 kB
          Kinga Marton
        2. OOZIE-3145-001.patch
          14 kB
          Kinga Marton
        3. OOZIE-3145-002.patch
          13 kB
          Kinga Marton
        4. OOZIE-3145-003.patch
          13 kB
          Kinga Marton

        Issue Links

          Activity

            People

              kmarton Kinga Marton
              asasvari Attila Sasvári
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: