You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Ismaël Mejía (Jira)" <ji...@apache.org> on 2020/02/07 08:39:00 UTC

[jira] [Updated] (AVRO-2448) Flaky test for open file descriptors

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

Ismaël Mejía updated AVRO-2448:
-------------------------------
    Fix Version/s:     (was: 1.10.0)

> Flaky test for open file descriptors
> ------------------------------------
>
>                 Key: AVRO-2448
>                 URL: https://issues.apache.org/jira/browse/AVRO-2448
>             Project: Apache Avro
>          Issue Type: Bug
>            Reporter: Niels Basjes
>            Assignee: Niels Basjes
>            Priority: Trivial
>             Fix For: 1.9.1
>
>
> In random situations (like here [https://travis-ci.org/apache/avro/jobs/548635040] ) the test TestDataFileReader : testForLeakingFileDescriptors fails with a message like this
>  
> {quote}[ERROR] testForLeakingFileDescriptors(org.apache.avro.TestDataFileReader) Time elapsed: 0.026 s <<< FAILURE!
> java.lang.AssertionError: File descriptor leaked from new DataFileReader() expected:<38> but was:<35>{quote}
> The assessment is that during the test run the garbage collector cleaned up some of the open file descriptors and thus the expected number of open file descriptors is lower than expected by the test.
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)