You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2019/04/28 14:57:14 UTC

[GitHub] [flink] Aitozi opened a new pull request #8304: [hotfix]Harden TextInputFormatTest to avoid failure by uncleaned files

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:
users@infra.apache.org


With regards,
Apache Git Services