eolivelli commented on a change in pull request #776: Issue 709: Add Slow
Bookkeeper Servers to Placement Policy for read ordering
URL: https://github.com/apache/bookkeeper/pull/776#discussion_r153043975
##########
File path:
bookkeeper-server/src/test/java/org/apache/bookkeeper/client/TestRegionAwareEnsemblePlacementPolicy.java
##########
@@ -219,14 +220,80 @@ public void testNodeReadOnly() throws Exception {
DistributionSchedule.WriteSet origWriteSet = writeSet.copy();
DistributionSchedule.WriteSet reorderSet = repp.reorderReadSequence(
- ensemble, new HashMap<BookieSocketAddress, Long>(), writeSet);
+ ensemble, new BookKeeperServerHealthInfo(), writeSet);
DistributionSchedule.WriteSet expectedSet
= writeSetFromValues(3, 1, 2, 0);
LOG.info("reorder set : {}", reorderSet);
assertFalse(reorderSet.equals(origWriteSet));
assertEquals(expectedSet, reorderSet);
}
+ @Test
+ public void testnodeSlow() throws Exception {
Review comment:
nit: testNodeSlow
----------------------------------------------------------------
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