Github user anmolnar commented on a diff in the pull request:
https://github.com/apache/zookeeper/pull/647#discussion_r221200641
--- Diff: src/java/test/org/apache/zookeeper/server/DataTreeTest.java ---
@@ -153,6 +153,31 @@ public void testIncrementCversion() throws Exception {
(newCversion == prevCversion + 1 && newPzxid == prevPzxid
+ 1));
}
+ @Test
+ public void testPzxidUpdatedWhenDeletingNonExistNode() throws
Exception {
--- End diff --
This new test is also part of the fix.---
