LedgerHandle lh = bkc.createLedger(3, 3, DigestType.CRC32, "passwd".getBytes());
for (int i = 0; i < 10; i++) {
lh.asyncAddEntry("foobar".getBytes(), new TestCallbacks.AddCallbackFuture(), null);
}
lh.addEntry("foobar".getBytes());
lh.close();
assertEquals("shouldn't be anything under replicated",
underReplicationManager.pollLedgerToRereplicate(), -1);
underReplicationManager.disableLedgerReplication();