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

Client and RS client ignore _connect=False with auth

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.5.1
    • Affects Version/s: None
    • Component/s: None
    • None

      MongoClient("mongodb://doesntexist.org") properly raises ConnectionFailure, and MongoClient("mongodb://doesntexist.org", _connect=False) properly does not.

      But MongoClient("mongodb://jesse:password@somedomainthatdoesntexist.org", _connect=False) raises ConnectionFailure. Let's fix that, and add a _connect option to MongoReplicaSetClient too.

            Assignee:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: