@Test
public void writeIncorrectTSRecord0() throws IOException, WriteProcessException {

  //incorrect data type
  TSRecord record = new TSRecord(10002, "d2");
  record.addTuple(new IntDataPoint("s1", 5));
  try {
    writer.write(record);
  } catch (TsFileEncodingException e) {
    //do nothing
  }
  closeFile();
  readNothing();
}