[ https://issues.apache.org/jira/browse/FLINK-5166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15708231#comment-15708231 ]
ASF GitHub Bot commented on FLINK-5166: --------------------------------------- Github user zentol commented on a diff in the pull request: https://github.com/apache/flink/pull/2876#discussion_r90209936 --- Diff: flink-java/src/test/java/org/apache/flink/api/java/io/TextInputFormatTest.java --- @@ -90,7 +91,9 @@ public void testSimpleRead() { @Test public void testNestedFileRead() { - String[] dirs = new String[] {"tmp/first/", "tmp/second/"}; + String tmpDirName = "tmp-" + UUID.randomUUID().toString().substring(0, 8); --- End diff -- We could reuse `CommonTestUtils#createTempDirectory()' in flink-runtime by copying the method into the CommonTestUtils class in `flink-test-utils-junit`. > TextInputFormatTest.testNestedFileRead > -------------------------------------- > > Key: FLINK-5166 > URL: https://issues.apache.org/jira/browse/FLINK-5166 > Project: Flink > Issue Type: Bug > Components: Batch Connectors and Input/Output Formats, Tests > Reporter: shijinkui > > `mvn clean package -P \!scala-2.11,scala-2.11 -U` > Failed tests: > TextInputFormatTest.testNestedFileRead:140 Test erroneous > Tests run: 846, Failures: 1, Errors: 0, Skipped: 0 -- This message was sent by Atlassian JIRA (v6.3.4#6332)