You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (JIRA)" <ji...@apache.org> on 2018/10/26 09:26:01 UTC

[jira] [Updated] (FLINK-10690) Tests leak resources via Files.list

     [ https://issues.apache.org/jira/browse/FLINK-10690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chesnay Schepler updated FLINK-10690:
-------------------------------------
    Description: 
{{Files.list}} has the unfortunate property that is has to be explicitly closed to cleanup the underlying {{DirectoryStream}}. This is _not_ done automatically by collectors.

Several tests don't close the stream.

  was:{{Files.list}} has the unfortunate property that is has to be explicitly closed to cleanup the underlying {{DirectoryStream}}. This is _not_ done automatically by collectors.


> Tests leak resources via Files.list
> -----------------------------------
>
>                 Key: FLINK-10690
>                 URL: https://issues.apache.org/jira/browse/FLINK-10690
>             Project: Flink
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 1.5.4, 1.6.1, 1.7.0
>            Reporter: Chesnay Schepler
>            Assignee: Chesnay Schepler
>            Priority: Major
>             Fix For: 1.5.6, 1.6.3, 1.7.0
>
>
> {{Files.list}} has the unfortunate property that is has to be explicitly closed to cleanup the underlying {{DirectoryStream}}. This is _not_ done automatically by collectors.
> Several tests don't close the stream.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)