test_write_concern does not respect DB_PORT

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Trivial - P5
    • 2.5
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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:
              A. Jesse Jiryu Davis
              Reporter:
              Micha? Górny
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: