}
public void testCorruptedCollectDanglingRecords() throws Exception {
DiskJournal journal = new DiskJournal();
journal.open();
Uid gtrid1 = UidGenerator.generateUid();
Uid gtrid2 = UidGenerator.generateUid();
assertEquals(0, journal.collectDanglingRecords().size());
journal.log(Status.STATUS_COMMITTING, gtrid1, csvToSet("name1,name2,name3"));
assertEquals(1, journal.collectDanglingRecords().size());