[
https://issues.apache.org/jira/browse/OOZIE-3145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16323752#comment-16323752
]
Peter Cseh commented on OOZIE-3145:
-----------------------------------
I'd like to rename this jira to something like ">git status< should be clean
after >mvn test< was called".
Also, I'd file a follow-up jira that adds a check to our pre-commit check that
ensures that mvn test won't create junk again.
> 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
> Assignee: Julia Kinga Marton
> Attachments: Oozie_test_garbage.png
>
>
> 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)