Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
integration: call waitLeader() before sending requests in TestIssue2746
Because of leader absence, TestIssue2746 fails occasionally. For fixing the problem, this commit lets the test call waitLeader() before sending requests. The test failure is fixed partially. It is because the campaign can happen during testing (not initialization phase). For handling it, we would need to let clients retry the request. Partially fixes etcd-io#5022
- Loading branch information