@AfterClass
  public static void tearDown() throws Exception {
    EnvFactory.getEnv().cleanClusterEnvironment();
  }
This is an example for integration test.
integration-test/src/test/java/org/apache/iotdb/db/it/IoTDBExampleIT.java