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

Open
letian wants to merge 1 commits from switch-client into master
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
Some checks are pending
Run Check Script / check (pull_request) Waiting to run
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
Some checks are pending
Run Check Script / check (pull_request) Waiting to run
This pull request can be merged automatically.
You are not authorized to merge this pull request.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin switch-client:switch-client
git checkout switch-client
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.