Github user afine commented on the issue:
https://github.com/apache/zookeeper/pull/229
@hanm thank you for the through review. you are right the original test is
bogus.
I wanted to write the test in a way that verifies behavior for both peers
so I used mockito to spy on the sender worker maps. Let me know what you think.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---