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

test_write_concern does not respect DB_PORT

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 2.5
    • Affects Version/s: None
    • Component/s: None
    • None

      https://github.com/mongodb/mongo-python-driver/blob/master/test/test_common.py#L219

      This initializes the Connection object with no respect for the 'pair'. Therefore, the second Connection object tries to connect to the default mongod port (instead of one specified by DB_PORT) and the test fails wrongly.

            Assignee:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            mgorny Micha? Górny
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: