Renkai commented on a change in pull request #9096:
URL: https://github.com/apache/pulsar/pull/9096#discussion_r560742591
##########
File path:
managed-ledger/src/test/java/org/apache/bookkeeper/mledger/impl/OffloadPrefixReadTest.java
##########
@@ -97,21 +97,21 @@ public void testOffloadRead() throws Exception {
assertEquals(new String(e.getData()), "entry-" + i++);
}
verify(offloader, times(1))
- .readOffloaded(anyLong(), any(), anyMap());
+ .readOffloaded(anyLong(), (UUID) any(), anyMap());
Review comment:
Because `readOffloaded` have different version of overload, I used cast
to avoid ambiguous method call.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]