dlg99 commented on code in PR #3239:
URL: https://github.com/apache/bookkeeper/pull/3239#discussion_r855811555
##########
bookkeeper-server/src/test/java/org/apache/bookkeeper/client/BookieDecommissionTest.java:
##########
@@ -130,11 +144,16 @@ public void
testDecommissionForLedgersWithMultipleSegmentsAndNotWriteClosed() th
lh4.addEntry(j, "data".getBytes());
}
+ // avoiding autorecovery fencing the ledger
+ servers.forEach(srv -> srv.stopAutoRecovery());
Review Comment:
it does wait.
I reduced openLedgerRereplicationGracePeriod, thus autorecovery may fence
the ledger and now the test has to stop/start it to avoid flakiness in this
case (add to the ledger to force ensemble change)
--
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]