Github user revans2 commented on the issue:
https://github.com/apache/zookeeper/pull/157
@afine I updated the test to spy on the `LearnerZooKeeperServer` instance
and check if and when `takeSnapshot` was called. I think this fulfills your
desires, but with tests there can always be more. So, if you do want more tests
or other areas covered please let me know.
---
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.
---