-
ale authored
Master election code should be more robust now, this commit eliminates the discrepancy between role and master info (previously it was possible for these two to be non synchronized). This commit also includes an in-memory etcd mock, which implements enough of the etcd interface to test the masterelection code.
ale authoredMaster election code should be more robust now, this commit eliminates the discrepancy between role and master info (previously it was possible for these two to be non synchronized). This commit also includes an in-memory etcd mock, which implements enough of the etcd interface to test the masterelection code.