[ https://issues.apache.org/jira/browse/FLINK-2448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14699295#comment-14699295 ]
Sachin Goel edited comment on FLINK-2448 at 8/17/15 9:56 AM: ------------------------------------------------------------- Aha. It makes sense. The {{TestEnvironment}} context factory returns the same object always. The second {{getEnvironment}} call doesn't actually do anything. was (Author: sachingoel0101): Aha. It makes sense. The `TestEnvironment` context factory returns the same object always. The second `getEnvironment` call doesn't actually do anything. > registerCacheFile fails with MultipleProgramsTestbase > ----------------------------------------------------- > > Key: FLINK-2448 > URL: https://issues.apache.org/jira/browse/FLINK-2448 > Project: Flink > Issue Type: Bug > Components: Tests > Reporter: Chesnay Schepler > Priority: Minor > > When trying to register a file using a constant name an expection is thrown > saying the file was already cached. > This is probably because the same environment is reused, and the cacheFile > entries are not cleared between runs. -- This message was sent by Atlassian JIRA (v6.3.4#6332)