assertTrue("Ledger replication is not disabled!",
isLedgerReplicationDisabled);
assertEquals("Failed to disable ledger replication!", 2, znodeLatch
.getCount());
replicaMgr.enableLedgerReplication();
znodeLatch.await(5, TimeUnit.SECONDS);
LOG.debug("Enabled Ledeger Replication");
assertTrue("Ledger replication is not disabled!",
!isLedgerReplicationDisabled);
assertEquals("Failed to disable ledger replication!", 0, znodeLatch