jonmv commented on code in PR #2154:
URL: https://github.com/apache/zookeeper/pull/2154#discussion_r1768204225
##########
zookeeper-server/src/test/java/org/apache/zookeeper/server/quorum/WatchLeakTest.java:
##########
@@ -97,7 +97,7 @@ public Boolean answer(InvocationOnMock invocation) throws
Throwable {
}
});
- ZKDatabase database = new ZKDatabase(null);
+ ZKDatabase database = new ZKDatabase(mock(FileTxnSnapLog.class));
Review Comment:
Otherwise: NPE during fast-forward during shutdown.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]