Github user anmolnar commented on the issue: https://github.com/apache/zookeeper/pull/546 Almost. :) Sorry for still complaining: don't use `LocalPeerBean` in the QuorumPeer tests, it could interfere the result. Test `QuorumPeer.isLeader()` directly.
---