Handle socket closures in tests to avoid ResourceWarning

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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
            Reporter:
            Steve Silvester
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: