@Test
public void test1() throws IOException {

  TSFileDescriptor.getInstance().getConfig().setTimeEncoder("TS_2DIFF");
  int rowCount = 1000;
  TsFileGeneratorForTest.generateFile(rowCount, 16 * 1024 * 1024, 10000);
  fileReader = new TsFileSequenceReader(FILE_PATH);
  tsFile = new ReadOnlyTsFile(fileReader);
  queryTest(rowCount);
  tsFile.close();
  TsFileGeneratorForTest.after();
}