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

Avoid 30 second stalls in TestMongoClientFailover

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.11
    • Component/s: Tests
    • Labels:
      None

      Description

      The tests in TestMongoClientFailover occasionally hang for 30 seconds. Noticed while investigating PYTHON-2236.

      We can fix this by reducing the serverSelectionTimeoutMS from 30000 to 100.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              shane.harvey Shane Harvey
              Reporter:
              shane.harvey Shane Harvey
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: