You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Attila Sasvari (JIRA)" <ji...@apache.org> on 2017/12/21 17:36:00 UTC

[jira] [Created] (OOZIE-3145) TestDistcpMain shall remove created files after test execution

Attila Sasvari created OOZIE-3145:
-------------------------------------

             Summary: TestDistcpMain shall remove created files after test execution
                 Key: OOZIE-3145
                 URL: https://issues.apache.org/jira/browse/OOZIE-3145
             Project: Oozie
          Issue Type: Bug
          Components: tests
    Affects Versions: 5.0.0b1
            Reporter: Attila Sasvari


After running TestDistcpMain, local files created are not removed. Subsequent test runs will reuse those files and fail:
{code}
$ 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
{code}

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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)