} catch(IOException ie) {
LOG.info("crc corruption", ie);
}
itr.close();
// find the last snapshot
FileSnap snap = new FileSnap(versionDir);
snapFile = snap.findMostRecentSnapshot();
// corrupt this file
corruptFile(snapFile);
DataTree dt = new DataTree();
Map<Long, Integer> sessions =
new ConcurrentHashMap<Long, Integer>();
try {
snap.deserialize(dt, sessions);
assertTrue(false);
} catch(IOException ie) {
LOG.info("checksu failure in snapshot", ie);
}