Aitozi opened a new pull request #8304: [hotfix]Harden TextInputFormatTest to 
avoid failure by uncleaned files
URL: https://github.com/apache/flink/pull/8304
 
 
   ## What is the purpose of the change
   
   When I run test locally, it happened to failed and with the uncleaned temp 
file leaving in the tmp dir. So the test case can not pass ever until i delete 
the correspond files.
   
   It use `deleteOnExit` to clean up the temp file created by test case, But 
the method may not work when JVM crash or killed. I think it may make the test 
case fragile.   
   
   ## Brief change log
   
   Add the @Before and @After prepare / cleanup method
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to