long validPos = reader.previousSync();
// post sync, we know of a valid sync point: re-open with seek (sync == false)
sin.seek(validPos);
reader = DataFileReader.<Object>openReader(sin, new GenericDatumReader<Object>(),
header, false);
assertEquals("Should not move from sync point on reopen", validPos, sin.tell());
assertNotNull("Should be able to reopen at sync point", reader.next());
}
@Test public void test12() throws IOException {
readFile(new File("../../../share/test/data/test.avro12"),