-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Minor - P4
-
None
-
Component/s: Initial DNS Seedlist Discovery
-
None
-
Needed
-
Summary
Currently, the initial DNS seedlist discovery spec test runner description requires creating a MongoClient initialized with the URI specified in the test and asserting that either the host lists match the expected values or that an error was thrown/returned. However, it does not specify to run an operation or create a connection, which can lead to incorrectly configured tests passing. Some drivers (e.g. the Go driver) do create connections, which exposes test misconfigurations.
Update the initial DNS seedlist discovery spec test runner description to require running a Ping operation with the created MongoClient in the no-error test cases.
Motivation
Who is the affected end user?
Driver devs.
How does this affect the end user?
Driver devs can be blocked and/or confused about the test failures.
How likely is it that this problem or use case will occur?
The problem typically only occurs when the spec test or test environment changes.
If the problem does occur, what are the consequences and how severe are they?
Some drivers initial DNS seedlist discovery spec tests may pass while others fail using the same spec tests and configuration. Updates that introduce inconsistencies in the initial DNS seedlist discovery spec tests may go unrecognized in some drivers projects, but may impact . The result is that some drivers teams
Is this issue urgent?
No.
Is this ticket required by a downstream team?
No.
Is this ticket only for tests?
Yes.
- is depended on by
-
DRIVERS-2224 Update initial DNS seedlist discovery tests to support dedicated load balancer port
- Blocked
- is duplicated by
-
DRIVERS-2233 Assert that a Ping operation succeeds in the initial DNS spec tests
- Closed
- split to
-
CDRIVER-4312 Assert that a Ping operation succeeds in the initial DNS spec tests
- Backlog
-
CSHARP-4099 Assert that a Ping operation succeeds in the initial DNS spec tests
- Backlog
-
CXX-2466 Assert that a Ping operation succeeds in the initial DNS spec tests
- Backlog
-
NODE-4083 Assert that a Ping operation succeeds in the initial DNS spec tests
- Backlog
-
RUBY-2925 Assert that a Ping operation succeeds in the initial DNS spec tests
- Backlog
-
GODRIVER-2333 Assert that a Ping operation succeeds in the initial DNS spec tests
- Closed
-
JAVA-4532 Assert that a Ping operation succeeds in the initial DNS spec tests
- Closed
-
MOTOR-910 Assert that a Ping operation succeeds in the initial DNS spec tests
- Closed
-
PHPLIB-812 Assert that a Ping operation succeeds in the initial DNS spec tests
- Closed
-
RUST-1219 Assert that a Ping operation succeeds in the initial DNS spec tests
- Closed
-
PYTHON-3170 Assert that a Ping operation succeeds in the initial DNS spec tests
- Closed