Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-3923

Handle socket closures in tests to avoid ResourceWarning

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Unknown Unknown
    • None
    • None
    • None
    • None

    Description

      In PYTHON-3917 we ignored ResourceWarning in the uri spec tests because they were randomly getting raised by sockets that were not closed properly. We should investigate the source, perhaps by running a manual garbage collect after each test to try and isolate the issue.

      Attachments

        Activity

          People

            Unassigned Unassigned
            steve.silvester@mongodb.com Steve Silvester
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: