@Test
public void testChangeWritersLogsInSync() throws Exception {

  writeSegment(cluster, qjm, 1, 3, false);
  QJMTestUtil.assertExistsInQuorum(cluster,
      NNStorage.getInProgressEditsFileName(1));
  // Make a new QJM
  qjm = closeLater(new QuorumJournalManager(
      conf, cluster.getQuorumJournalURI(JID), FAKE_NSINFO));
  qjm.recoverUnfinalizedSegments();
  checkRecovery(cluster, 1, 3);
}