Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-382

Automate Atlas connectivity tests

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Component/s: None
    • Labels:
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      NODE-1221 Fixed 3.1.0
      SCALA-363 Won't Fix
      PYTHON-1436 Fixed 3.7
      CSHARP-2124 Fixed 2.7.1
      PERL-834 Fixed Perl CI 2018
      RUBY-1267 Fixed 2.6.0
      JAVA-2699 Fixed
      CXX-1480 Won't Fix
      PHPC-1060 Fixed 1.8.0-beta1, 1.8.0
      GODRIVER-145 Fixed 1.1.0
      RUST-91 Fixed 0.9.0-alpha
      SWIFT-445 Fixed 0.2.0
      $i18n.getText("admin.common.words.show")
      #scriptField, #scriptField *{ border: 1px solid black; } #scriptField{ border-collapse: collapse; } #scriptField td { text-align: center; /* Center-align text in table cells */ } #scriptField td.key { text-align: left; /* Left-align text in the Key column */ } #scriptField a { text-decoration: none; /* Remove underlines from links */ border: none; /* Remove border from links */ } /* Add green background color to cells with FixVersion */ #scriptField td.hasFixVersion { background-color: #00FF00; /* Green color code */ } /* Center-align the first row headers */ #scriptField th { text-align: center; } Key Status/Resolution FixVersion NODE-1221 Fixed 3.1.0 SCALA-363 Won't Fix PYTHON-1436 Fixed 3.7 CSHARP-2124 Fixed 2.7.1 PERL-834 Fixed Perl CI 2018 RUBY-1267 Fixed 2.6.0 JAVA-2699 Fixed CXX-1480 Won't Fix PHPC-1060 Fixed 1.8.0-beta1, 1.8.0 GODRIVER-145 Fixed 1.1.0 RUST-91 Fixed 0.9.0-alpha SWIFT-445 Fixed 0.2.0

      In order to ensure that drivers can connect to both regular and free tier Atlas instances, all drivers need to add automated connectivity tests to Evergreen. These tests only need to verify connectivity – drivers MUST NOT attempt integration tests.

      Approach:

      • Create a new private Evergreen project. (A private project ensures that URIs that leak into logs are not publicly visible)
      • Create a task that connects to five URIs (provided separately):
        • Atlas replica set
        • Atlas sharded cluster
        • Atlas free tier replica set
        • Atlas replica set with only TLS 1.1 enabled
        • Atlas replica set with only TLS 1.2 enabled
      • For each URI, construct a client, run ismaster manually, run a findOne against the test.test namespace, and verify that no error occurred.
      • The provided URIs MUST NOT be hardcoded in your test suite or committed to public github projects. Use Evergreen project variables instead.

      The ismaster command succeeding ensures that there are no TLS issues. The findOne succeeding ensures there are no authentication issues.

            Assignee:
            Unassigned Unassigned
            Reporter:
            david.golden@mongodb.com David Golden
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: