-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Tests
-
The driver now consistently validates minimum server versions in all topology types when max staleness is specified in server selectors.
-
Minor Change
In NoKnownServers.yml if I change
suitable_servers: []
to:
suitable_servers: [hello]
or:
suitable_servers: 123
The tests all appear to pass anyway, which shouldn't be happening.
The runner should be verified to:
Fail tests when expected suitable servers are non-empty and actual suitable servers are empty
Fail tests when expected suitable servers are empty and actual suitable servers are non-empty
It appears that the spec runner performs some fixups to make the tests pass and thus does not necessarily test the actual driver behavior in all situations. As part of work on this ticket, the runner and driver code will be adjusted to make the runner test the driver as much as feasible (due to server selection implementation, there aren't public APIs for all of the data that the spec tests want to assert on).