Github user lvfangmin commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/622#discussion_r217555585 --- Diff: src/java/test/org/apache/zookeeper/server/quorum/FuzzySnapshotRelatedTest.java --- @@ -60,14 +60,17 @@ MainThread[] mt = null; ZooKeeper[] zk = null; + int[] clientPorts = null; int leaderId; int followerA; @Before public void setup() throws Exception { + ZooKeeperServer.setCloseSessionTxnEnabled(true); --- End diff -- Set this to false will reproduce inconsistent pzxid bug, which is what we're going to solve here by enabling CloseSessionTxn, so we're not missing anything, just to make sure the CloseSessionTxn solved the bug here.
---