AppendTestUtil.write(stm, 0, 1024);
stm.sync();
loseLeases(fs1);
DFSOutputStream dfso = (DFSOutputStream)stm.getWrappedStream();
dfso.abortForTests();
// close the DNs
DataNodeProperties badDN = cluster.stopDataNode(0);
DataNodeProperties badDN2 = cluster.stopDataNode(0); // what was 1 is now 0
assertNotNull(badDN);