sijie commented on a change in pull request #1100: Improve decomission test
URL: https://github.com/apache/bookkeeper/pull/1100#discussion_r165763534
##########
File path:
bookkeeper-server/src/test/java/org/apache/bookkeeper/client/BookieDecommissionTest.java
##########
@@ -86,7 +91,18 @@ public void testDecommissionBookie() throws Exception {
* this decommisionBookie should make sure that there are no
* underreplicated ledgers because of this bookie
*/
- bkAdmin.decommissionBookie(Bookie.getBookieAddress(killedBookieConf));
+ bkAdmin.decommissionBookie(
+ Bookie.getBookieAddress(killedBookieConf),
+ () -> {
+ Auditor auditor = recoveryProcess.getAuditor();
+ if (null != auditor) {
+ auditor.submitLostBookieRecoveryDelayChangedEvent().get();
+ log.info("Wait until auditor completes the auditing
task.");
Review comment:
I mean my intention to add logging after that, so I will update the sentence
to a more meaningful sentence.
----------------------------------------------------------------
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