eolivelli commented on a change in pull request #925: Issue611: restrict max
ensemble change numbers
URL: https://github.com/apache/bookkeeper/pull/925#discussion_r163470454
##########
File path:
bookkeeper-server/src/test/java/org/apache/bookkeeper/client/MockBookKeeperTestCase.java
##########
@@ -219,7 +272,10 @@ private void submit(Runnable operation) {
}
protected void registerMockEntryForRead(long ledgerId, long entryId,
BookieSocketAddress bookieSocketAddress,
- byte[] entryData, long lastAddConfirmed) {
+ byte[] entryData, long lastAddConfirmed) throws BKException{
+ if (failedBookies.contains(bookieSocketAddress)) {
+ throw BKException.create(NoBookieAvailableException);
Review comment:
Maybe I am messing up with the diff. I will check out your branch and give
you more context.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services