Github user eribeiro commented on a diff in the pull request:
https://github.com/apache/zookeeper/pull/500#discussion_r181267836
--- Diff: src/java/main/org/apache/zookeeper/server/quorum/Leader.java ---
@@ -868,8 +868,8 @@ synchronized public long startForwarding(LearnerHandler
handler,
return lastProposed;
}
-
- private HashSet<Long> connectingFollowers = new HashSet<Long>();
+ // VisibleForTesting
+ protected HashSet<Long> connectingFollowers = new HashSet<Long>();
--- End diff --
`protected Set<Long> connectingFollowers = new HashSet<>();`
---