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

Handle socket closures in tests to avoid ResourceWarning

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      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.

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

              Created:
              Updated: