-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
None
-
Component/s: None
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.
- depends on
-
RUST-91 Automate Atlas connectivity tests
- Closed
-
CSHARP-2124 Automate Atlas connectivity tests
- Closed
-
CXX-1480 Automate Atlas connectivity tests
- Closed
-
NODE-1221 Automate Atlas connectivity tests
- Closed
-
PHPC-1060 Automate Atlas connectivity tests
- Closed
-
PYTHON-1436 Automate Atlas connectivity tests
- Closed
-
RUBY-1267 Automate Atlas connectivity tests
- Closed
-
GODRIVER-145 Automate Atlas connectivity tests
- Closed
-
JAVA-2699 Automate Atlas connectivity tests
- Closed
- related to
-
DRIVERS-431 Test with authentication and mongodb+srv URI
- Closed
-
DRIVERS-302 Test connections to Mango
- Closed
-
DRIVERS-338 Test SNI support
- Closed
-
DRIVERS-362 Test Atlas Free Tier Proxy
- Closed
-
DRIVERS-627 Atlas Connectivity tests should include mongodb+srv testing
- Closed
-
DRIVERS-607 Add mongodb+srv URIs to Atlas Connectivity tests
- Implementing
-
CDRIVER-2162 Automate Atlas connectivity tests
- Closed