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

ASF subversion and git services commented on AVRO-2919:
-------------------------------------------------------

Commit fed505631bc9692080e35b7e8131e6f96e6e8f0d in avro's branch 
refs/heads/master from Michael A. Smith
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=fed5056 ]

AVRO-2919 Refactor Datafile Tests (#946)

- Ensure avro.test.test_datafile tests always close resources.
- Use tempfiles to ensure datafile tests can be run in parallel.

> Make avro.test.test_datafile parallelizable and less leaky
> ----------------------------------------------------------
>
>                 Key: AVRO-2919
>                 URL: https://issues.apache.org/jira/browse/AVRO-2919
>             Project: Apache Avro
>          Issue Type: Task
>          Components: python
>            Reporter: Michael A. Smith
>            Assignee: Michael A. Smith
>            Priority: Major
>
> avro.test.test_datafile in the python implementation uses a hardcoded 
> filename for a temporary file used repeatedly in every datafile test case. So 
> running these tests in parallel yields random failures and inconsistent 
> results.
> Also, the file handle is not closed in every test case, leading to resource 
> leaks.



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

Reply via email to