Jiabao-Sun commented on code in PR #23917: URL: https://github.com/apache/flink/pull/23917#discussion_r1428219337
########## flink-table/flink-table-planner/src/test/scala/org/apache/flink/table/planner/runtime/utils/StreamingWithStateTestBase.scala: ########## @@ -68,8 +69,8 @@ class StreamingWithStateTestBase(state: StateBackendMode) extends StreamingTestB super.before() // set state backend - // subfolder are managed here because the tests could fail during cleanup when concurrently executed (see FLINK-33820) - baseCheckpointPath = TempDirUtils.newFolder(tempFolder) + val baseCheckpointPath = Files.createTempDirectory(getClass.getCanonicalName) + Files.deleteIfExists(baseCheckpointPath); state match { Review Comment: Sorry, if I was wrong, please correct me. I still don't quite understand why we need to delete the folder we just created immediately. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org