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/05/02 08:23:43 UTC

[GitHub] [flink] zentol commented on a change in pull request #8304: [hotfix]Harden TextInputFormatTest to avoid failure by uncleaned files

zentol commented on a change in pull request #8304: [hotfix]Harden TextInputFormatTest to avoid failure by uncleaned files
URL: https://github.com/apache/flink/pull/8304#discussion_r280325047
 
 

 ##########
 File path: flink-java/src/test/java/org/apache/flink/api/java/io/TextInputFormatTest.java
 ##########
 @@ -44,14 +48,34 @@
  * Tests for {@link TextInputFormat}.
  */
 public class TextInputFormatTest {
+
+	private File baseDir;
+	private final String tempDirName = "tempDir";
+
+	@Before
+	public void setUp() throws IOException {
 
 Review comment:
   if the JVM crashes before the delete calls are executed the files will remain.

----------------------------------------------------------------
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