@Test
public void testMultiFileFailedWriteCache1()
{

  EvenOddHDFSExactlyOnceWriter writer = new EvenOddHDFSExactlyOnceWriter();
  writer.setMaxOpenFiles(1);
  testMultiFileFailedWriteHelper(writer);
  String evenFileName = testMeta.getDir() + File.separator + EVEN_FILE;
  String correctContents = "0\n" + "2\n" + "6\n" + "8\n";
  checkOutput(-1, evenFileName, correctContents);
  String oddFileName = testMeta.getDir() + File.separator + ODD_FILE;
  correctContents = "1\n" + "3\n" + "7\n" + "9\n";
  checkOutput(-1, oddFileName, correctContents);
}