eolivelli commented on code in PR #16399:
URL: https://github.com/apache/pulsar/pull/16399#discussion_r914650032


##########
managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/OpReadEntry.java:
##########
@@ -34,6 +36,9 @@
 
 class OpReadEntry implements ReadEntriesCallback {
 
+    private static AtomicInteger createCount = null;

Review Comment:
   with PowerMock you can wrap the calls to create and to recycle



-- 
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]

Reply via email to