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

Evergreen should fail when the test suite cannot connect to MongoDB

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.1
    • Affects Version/s: None
    • Component/s: CI
    • None

      The test suite currently passes even if it cannot connect to a local MongoDB instance. This is intentional so that the test suite passes even if no MongoDB instance is running.

      However, on Evergreen we know that the test suite should connect and run the entire test suite. We should add some logic to make the test suite fail if the tests are skipped. The test suite should fail with an error if it cannot connect and an environment variable, eg "SHOULD_CONNECT", is set.

      This would prevent PYTHON-1414 from happening again.

            Assignee:
            shane.harvey@mongodb.com Shane Harvey
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: