public static void cancelJob(JobClient jobClient) {
    if (isJobTerminated(jobClient)) {
      return;
    }
    try {
      jobClient.cancel();
    } catch (Exception e) {
      LOG.warn("cancel job exception.", e);
    }
  }
get ut method name without parameters.
amoro-format-mixed/amoro-mixed-flink/amoro-mixed-flink-common/src/test/java/org/apache/amoro/flink/util/TestUtil.java