@Test
public void test2() throws Exception {

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