private void insertNegativeTimestampTypeData() {
    try (Connection connection = EnvFactory.getEnv().getConnection();
        Statement statement = connection.createStatement()) {
      statement.execute("create timeseries root.fans.d0.s2 with datatype = timestamp");
      statement.execute(
          String.format(
              "insert into root.fans.d0(time,s2) values(%s,%s)",
              Long.MIN_VALUE + 1, Long.MIN_VALUE + 1));
      statement.execute("insert into root.fans.d0(time,s2) values(-999999,-9999999)");
      statement.execute(
          "insert into root.fans.d0(time,s2) values(1900-01-01 10:00:00,1900-01-01 10:00:00)");
    } catch (SQLException e) {
      fail(e.getMessage());
    }
  }
Notice that, all test begins with "IoTDB" is integration test. All test which will start the
IoTDB server should be defined as integration test.
integration-test/src/test/java/org/apache/iotdb/db/it/IoTDBInsertWithQueryIT.java