[DRIVERS-2206] Add tests for server selection wire version check Created: 15/Feb/22  Updated: 31/Mar/22

Status: Backlog
Project: Drivers
Component/s: Server Selection
Fix Version/s: None

Type: Task Priority: Minor - P4
Reporter: Isabel Atkinson Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Driver Changes: Needed

 Description   

Summary

The server selection specification includes a wire version range check to verify that all servers in a topology are compatible with the driver's min/max wire version. We should introduce spec tests in the same format as the server selection logic tests to validate that drivers are performing this check correctly.

Motivation

Who is the affected end user?

N/A

How does this affect the end user?

N/A

How likely is it that this problem or use case will occur?

N/A

If the problem does occur, what are the consequences and how severe are they?

N/A

Is this issue urgent?

No.

Is this ticket required by a downstream team?

No.

Is this ticket only for tests?

Yes.



 Comments   
Comment by Kaitlin Mahar [ 15/Feb/22 ]

Specifically, we should test that drivers correctly consider the topology compatible if its min...max wire version range has any overlap with the driver's min...max range. The bounds checking logic is easy to get wrong

Generated at Thu Feb 08 08:25:00 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.