refactor(ha_cluster): inject switch client for better testability #174
No reviewers
Labels
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: NationTech/harmony#174
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "switch-client"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Quick refactor in order to inject a
SwitchClient
into theHAClusterTopology
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.fix(ha_cluster): inject switch client for better testabilityto refactor(ha_cluster): inject switch client for better testabilityCheckout
From your project repository, check out a new branch and test the changes.