flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From StephanEwen <...@git.apache.org>
Subject [GitHub] flink issue #3190: [FLINK-5546][build] java.io.tmpdir setted as project buil...
Date Mon, 23 Jan 2017 11:23:36 GMT
Github user StephanEwen commented on the issue:

    https://github.com/apache/flink/pull/3190
  
    Many tests assume that the `tmp` directory exists.
    
    I would actually prefer to fix the tests, rather than re-assignign the temp directory.
All tests should use a random subdirectory in the temp directory. It is quite convenient to
do via JUnit:
    
    ```java
    @Rule
    public final TemporaryFolder tmp = new TemporaryFolder();
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message