use of org.apache.distributedlog.tools.DistributedLogTool.ReadLastConfirmedCommand in project bookkeeper by apache.
the class TestDistributedLogTool method testToolReadLastConfirmed.
@Test(timeout = 60000)
public void testToolReadLastConfirmed() throws Exception {
ReadLastConfirmedCommand cmd = new ReadLastConfirmedCommand();
cmd.setUri(defaultUri);
cmd.setLedgerId(99999999);
// correct functionality.
try {
cmd.runCmd();
} catch (BKNoSuchLedgerExistsException ex) {
}
}
Aggregations