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

Client and RS client ignore _connect=False with auth

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Done
    • None
    • 2.5.1
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: