Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-2919

Make avro.test.test_datafile parallelizable and less leaky

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.11.0
    • python
    • None

    Description

      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.

      Attachments

        Activity

          People

            kojiromike Michael A. Smith
            kojiromike Michael A. Smith
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: