@Test
public void bigFileLatestCheckpointFindsStartAfter() throws Throwable
{
long firstTxAfterCheckpoint = Integer.MAX_VALUE + 4L;
LogTailScanner tailScanner =
new FirstTxIdConfigurableTailScanner( firstTxAfterCheckpoint, logFiles, reader, monitors );
LogEntryStart startEntry = new LogEntryStart( 1, 2, 3L, 4L, new byte[]{5, 6},
new LogPosition( endLogVersion, Integer.MAX_VALUE + 17L ) );
CheckPoint checkPoint = new CheckPoint( new LogPosition( endLogVersion, 16L ) );
LogTailInformation logTailInformation = tailScanner.checkpointTailInformation( endLogVersion, startEntry,
endLogVersion, latestLogEntryVersion, checkPoint, false);
assertLatestCheckPoint( true, true, firstTxAfterCheckpoint, endLogVersion, logTailInformation );
}