refactor(ha_cluster): inject switch client for better testability #174
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
SwitchClientinto theHAClusterTopologyinstead 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_cloudsare already updated.fix(ha_cluster): inject switch client for better testabilityto refactor(ha_cluster): inject switch client for better testability