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

test_write_concern does not respect DB_PORT

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial - P5
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: