dinggege1024 opened a new issue, #13069:
URL: https://github.com/apache/doris/issues/13069

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### Version
   
   master
   
   ### What's Wrong?
   
   TestWithFeService do not clean up the env files that it create.
   
   Take  DemoTest as an example:
   
-----------------------------------------------------------------------------------------------------------------------------
   【files that TestWithFeService CREATE】
   CREATE DIR Config.plugin_dir: 
/var/folders/4x/8qfkkzx531g8m7001wbgrq840000gn/T/DORIS_HOME5225872191301181496/plugins
   CREATE DIR Config.custom_config_dir: 
/var/folders/4x/8qfkkzx531g8m7001wbgrq840000gn/T/DORIS_HOME5225872191301181496/custom_config_dir
   CREATE DIR dorisHome: 
/var/folders/4x/8qfkkzx531g8m7001wbgrq840000gn/T/DORIS_HOME5225872191301181496
   CREATE DIR frontend: 
/var/folders/4x/8qfkkzx531g8m7001wbgrq840000gn/T/DORIS_HOME5225872191301181496/fe/mocked/DemoTest/03354b27-20e3-4ee6-a682-9150ed733671/
   
-----------------------------------------------------------------------------------------------------------------------------
   【files that TestWithFeService DELETE】
   DELETE DIR: fe/mocked/DemoTest/03354b27-20e3-4ee6-a682-9150ed733671/
   
-----------------------------------------------------------------------------------------------------------------------------
   【Point】
   the 
`/var/folders/4x/8qfkkzx531g8m7001wbgrq840000gn/T/DORIS_HOME5225872191301181496`
 DO NOT BE CLEAN UP
   
   
   ### What You Expected?
   
   
/var/folders/4x/8qfkkzx531g8m7001wbgrq840000gn/T/DORIS_HOME5225872191301181496 
has been cleaned up.
   
   ### How to Reproduce?
   
   
doris/fe/fe-core/src/test/java/org/apache/doris/utframe/TestWithFeService.java
   
   ### Anything Else?
   
   UtFrameUtils did wrong things just like TestWithFeService too
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to