refactor(ha_cluster): inject switch client for better testability #174

Merged
letian merged 1 commits from switch-client into master 2025-10-23 15:05:21 +00:00
Owner

Quick refactor in order to inject a SwitchClient into the HAClusterTopology instead of hardcoding its implementation.
In the future, this will allow us to write automated tests targeting the topology or even higher level test suites.

Note: the public_clouds are already updated.

Quick refactor in order to inject a `SwitchClient` into the `HAClusterTopology` instead of hardcoding its implementation. In the future, this will allow us to write automated tests targeting the topology or even higher level test suites. Note: the `public_clouds` are already updated.
letian added 1 commit 2025-10-22 19:15:31 +00:00
fix(ha_cluster): inject switch client for better testability
All checks were successful
Run Check Script / check (pull_request) Successful in 1m30s
7368184917
letian changed title from fix(ha_cluster): inject switch client for better testability to refactor(ha_cluster): inject switch client for better testability 2025-10-22 19:28:34 +00:00
letian merged commit c069207f12 into master 2025-10-23 15:05:21 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: NationTech/harmony#174
No description provided.