Marios Trivyzas created FLINK-26418:
---------------------------------------

             Summary: Tests on flink-table-planner produce tmp_XXX dirs which 
are not cleaned up
                 Key: FLINK-26418
                 URL: https://issues.apache.org/jira/browse/FLINK-26418
             Project: Flink
          Issue Type: Technical Debt
            Reporter: Marios Trivyzas


Running tests in *flink-table-planner* produces a bunch of *tmp_XXXXXX* 
directories in the *flink-table-planner* root module dir, (not inside the build 
dirs){*}.{*} As a result, if you don't change the global *gitignore* show as 
new dirs/files to commit, and they are not cleaned up when one runs {*}mvn 
clean{*}. On top, if you try to build the whole *flink* project you get:

 
{noformat}
[ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.12:check 
(default) on project flink-parent: Too many files with unapproved license: 6 
See RAT report in: /home/matriv/ververica/flink/target/rat.txt -> [Help 
1]{noformat}
and you need to manually remove those dirs.

It would be great to keep these directories under the *build* and maybe also 
automatically remove each one, once the test producing it finishes successfully.

 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to