Stephan Ewen commented on FLINK-5817:

I would encourage you to use the JUnit tool to create random temporary folders:

public final TemporaryFolder tmp = new TemporaryFolder();

Have a look at the {{org.apache.flink.util.FileUtilsTest}} for an example.

> Fix test concurrent execution failure by test dir conflicts.
> ------------------------------------------------------------
>                 Key: FLINK-5817
>                 URL: https://issues.apache.org/jira/browse/FLINK-5817
>             Project: Flink
>          Issue Type: Bug
>            Reporter: Wenlong Lyu
>            Assignee: Wenlong Lyu
> Currently when different users build flink on the same machine, failure may 
> happen because some test utilities create test file using the fixed name, 
> which will cause file access failing when different user processing the same 
> file at the same time.
> We have found errors from AbstractTestBase, IOManagerTest, FileCacheTest.

This message was sent by Atlassian JIRA

Reply via email to