flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zentol <...@git.apache.org>
Subject [GitHub] flink pull request #6399: [FLINK-5860] [tests] Replace java.io.tmpdir with J...
Date Tue, 24 Jul 2018 11:49:50 GMT
Github user zentol commented on a diff in the pull request:

    https://github.com/apache/flink/pull/6399#discussion_r204720999
  
    --- Diff: flink-runtime/src/test/java/org/apache/flink/runtime/operators/DataSinkTaskTest.java
---
    @@ -297,7 +300,13 @@ public void testFailingDataSinkTask() {
     		Configuration stubParams = new Configuration();
     		super.getTaskConfig().setStubParameters(stubParams);
     
    -		super.registerFileOutputTask(MockFailingOutputFormat.class, new File(tempTestPath).toURI().toString());
    +		File tempTestFile = null;
    +		try {
    +			tempTestFile = tempFolder.newFile(tempTestFileName);
    --- End diff --
    
    same issue as in `JarFileCreatorTest`


---

Mime
View raw message