reswqa commented on code in PR #20306: URL: https://github.com/apache/flink/pull/20306#discussion_r925151253
########## flink-dstl/flink-dstl-dfs/src/test/java/org/apache/flink/changelog/fs/StateChangeFsUploaderTest.java: ########## @@ -19,18 +19,32 @@ package org.apache.flink.changelog.fs; import org.apache.flink.api.common.JobID; +import org.apache.flink.core.fs.FSDataOutputStream; +import org.apache.flink.core.fs.FileSystem; import org.apache.flink.core.fs.Path; +import org.apache.flink.core.fs.local.LocalDataOutputStream; +import org.apache.flink.core.fs.local.LocalFileSystem; +import org.junit.Rule; import org.junit.jupiter.api.Test; +import org.junit.rules.TemporaryFolder; +import java.io.File; import java.io.IOException; +import java.nio.file.FileAlreadyExistsException; +import java.util.Collections; +import java.util.concurrent.atomic.AtomicBoolean; import static org.apache.flink.runtime.metrics.groups.UnregisteredMetricGroups.createUnregisteredTaskManagerJobMetricGroup; +import static org.apache.flink.util.Preconditions.checkNotNull; import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertTrue; /** {@link StateChangeFsUploader} test. */ class StateChangeFsUploaderTest { Review Comment: @masteryhx Thanks for contribution, would you want to migrate this test class to Junit5 and AssertJ, and rewrite testCompress in that way. -- 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