[ https://issues.apache.org/jira/browse/ZOOKEEPER-1081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13044855#comment-13044855 ]
Camille Fournier commented on ZOOKEEPER-1081: --------------------------------------------- I dunno that mockito would do enough, but some of my colleagues had good luck with MultiThreadedTestCase: http://code.google.com/p/multithreadedtc/ I didn't use it myself but it looked pretty cool. > modify leader/follower code to correctly deal with new leader > ------------------------------------------------------------- > > Key: ZOOKEEPER-1081 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1081 > Project: ZooKeeper > Issue Type: Sub-task > Components: server > Reporter: Benjamin Reed > Fix For: 3.4.0 > > Attachments: ZOOKEEPER-1081.patch, sample.diff > > > the leader and follower code need to be modified to correctly handle and log > epoch changes -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira