[ 
https://issues.apache.org/jira/browse/FLINK-5546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15877907#comment-15877907
 ] 

ASF GitHub Bot commented on FLINK-5546:
---------------------------------------

Github user StephanEwen commented on the issue:

    https://github.com/apache/flink/pull/3190
  
    Hi! `mvn test` works from the command line.
    
    IntelliJ right-click on a test and run does often not work, it only works 
if a console build was done before and the `.../target/tmp/` directory still 
exists. If it does not exist, yet, or not any more (because of a `mvn clean`), 
then all tests fail with "temp directory does not exist". I think this confuses 
developers a lot, many will not know easily what to do to make the tests work 
in such a case.
    
    I hope you understand that I am placing importance on the developer 
experience.



> java.io.tmpdir setted as project build directory in surefire plugin
> -------------------------------------------------------------------
>
>                 Key: FLINK-5546
>                 URL: https://issues.apache.org/jira/browse/FLINK-5546
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Build System
>         Environment: CentOS 7.2
>            Reporter: Syinchwun Leo
>            Assignee: shijinkui
>             Fix For: 1.2.1
>
>
> When multiple Linux users run test at the same time, flink-runtime module may 
> fail. User A creates /tmp/cacheFile, and User B will have no permission to 
> visit the fold.  
> Failed tests: 
> FileCacheDeleteValidationTest.setup:79 Error initializing the test: 
> /tmp/cacheFile (Permission denied)
> Tests in error: 
> IOManagerTest.channelEnumerator:54 ยป Runtime Could not create storage 
> director...
> Tests run: 1385, Failures: 1, Errors: 1, Skipped: 8



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to