[SERVER-63399] Update driver SDAM tests Created: 08/Feb/22  Updated: 20/Dec/23

Status: Backlog
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Shane Harvey Assignee: Backlog - Cluster Scalability
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to DRIVERS-2196 Sync SDAM tests from mongo server rep... Closed
Assigned Teams:
Cluster Scalability
Sprint: Sharding NYC 2022-03-21, Sharding NYC 2022-04-04, Sharding NYC 2022-04-18, Sharding 2022-05-02, Sharding NYC 2022-05-16, Sharding NYC 2022-05-30, Sharding NYC 2022-06-13, Sharding 2022-06-27, Sharding 2022-07-11, Sharding 2022-07-25, Sharding 2022-08-08, Sharding 2022-08-22, Sharding 2022-09-05, Sharding 2022-09-19, Sharding 2022-10-03, Sharding 2022-10-17, Sharding NYC 2022-10-31, Sharding NYC 2022-11-14, Sharding NYC 2022-11-28, Sharding 2022-12-12, Sharding NYC 2022-12-26, Sharding NYC 2023-01-09, Sharding NYC 2023-01-23, Sharding NYC 2023-02-06, Sharding NYC 2023-02-20, Sharding NYC 2023-03-06, Sharding NYC 2023-03-20, Sharding NYC 2023-04-03, Sharding NYC 2023-04-17, Sharding NYC 2023-05-01, Sharding NYC 2023-05-15, Sharding NYC 2023-05-29, Sharding NYC 2023-06-12, Sharding NYC 2023-06-26, Sharding NYC 2023-07-10, Sharding NYC 2023-07-24, Sharding NYC 2023-08-07, Sharding NYC 2023-08-21, Sharding NYC 2023-09-04, Sharding NYC 2023-09-18, Sharding NYC 2023-10-02, Sharding NYC 2023-10-16, Sharding NYC 2023-10-30, Cluster Scalability 2023-11-13, Cluster Scalability 2023-11-27
Participants:

 Description   

The server starting testing the driver SDAM tests in April 2020 as part of SERVER-43333. Since then DBX has updated the SDAM tests many times: https://github.com/mongodb/specifications/commits/master/source/server-discovery-and-monitoring/tests

Most notably:

  • DRIVERS-1187 Introduced topologyVersion and a new test format in the errors/ directory.
  • DRIVERS-640 Introduced awaitable hello and a new test format in the integration/ directory.
  • DRIVERS-720 Introduced load balancer support and a new tests in the load-balanced/ directory.
  • DRIVERS-1293 Updated tests to use modern terminology.


 Comments   
Comment by Lamont Nelson [ 22/Mar/22 ]

I think the right thing here might be to use a drivers test harness and compile a wrapper in the host language of the libsdam module currently in the server. That way we can avoid the on-going maintenance costs to keep up to date with any syntax changes in the test suite. This would allow us to at least know what the differences are between the server and drivers at a glance.

Comment by Lamont Nelson [ 11/Mar/22 ]

I will look at this to determine the level of effort to update the parser for the test files. garaudy.etienne once this is done let's talk about the cost/benefits.

Generated at Thu Feb 08 05:57:42 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.