@Override
    public void snapshotState(FunctionSnapshotContext context) throws Exception {
      nextValueState.update(Collections.singletonList(nextValue));

      if (isWaitingCheckpointComplete) {
        snapshottedAfterAllRecordsOutput = true;
      }
    }
Whether the test is executing in a scenario that induces a failover. This doesn't mean that
this source induces the failover.
amoro-format-mixed/amoro-mixed-flink/amoro-mixed-flink-common/src/test/java/org/apache/amoro/flink/write/MixedFormatFileWriterITCase.java