public void testFailoverInteractive(String[] input,
boolean simulateEditLogCrash) throws Exception {
int blocksBefore = blocksInFile();
if (simulateEditLogCrash) {
FailoverTestUtilHandler handler = new FailoverTestUtilHandler();
InjectionHandler.set(handler);
}
// Txid will now mismatch.
cluster.getPrimaryAvatar(0).avatar.namesystem.getEditLog()
.setLastWrittenTxId(0);