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:45 GMT
Github user zentol commented on a diff in the pull request:

    https://github.com/apache/flink/pull/6399#discussion_r204720983
  
    --- Diff: flink-runtime/src/test/java/org/apache/flink/runtime/operators/DataSinkTaskTest.java
---
    @@ -225,7 +224,13 @@ public void testSortingDataSinkTask() {
     		super.getTaskConfig().setFilehandlesInput(0, 8);
     		super.getTaskConfig().setSpillingThresholdInput(0, 0.8f);
     
    -		super.registerFileOutputTask(MockOutputFormat.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