@Test
public void testCompressedSeekReadAllAvailable() throws Exception {
// Prepare an output stream
ReaderWriterProfiler.setProfilerOptions(null);
OutputCollector collect = new OutputCollector();
CompressionCodec codec = new ZlibCodec();
OutStream out = new OutStream("test", 300, codec, collect, new MemoryEstimate());
RowIndex.Builder rowIndex = OrcProto.RowIndex.newBuilder();
RowIndexEntry.Builder rowIndexEntry = OrcProto.RowIndexEntry.newBuilder();
WriterImpl.RowIndexPositionRecorder rowIndexPosition =
new RowIndexPositionRecorder(rowIndexEntry);