ferenc-csaky opened a new pull request, #23211: URL: https://github.com/apache/flink/pull/23211
## What is the purpose of the change Migrates JUnit4 unit tests in `org.apache.flink.runtime.accumulators` and `org.apache.flink.runtime.blob` packages to JUnit5. ## Brief change log - Made test methods and classes package-private. - Added `TestLoggerExtension` instead of extending JUnit4 `TestLogger` class. - Migrated to `@TempDir` from the temp. folder class rule that does not exist in JUnit5. - Added `BlobServer` and `BlobCache` instantiation utils to `TestingBlobUtils` to cut back code duplication. - Moved some blob test helper utils that were used by the `HDFSTest` class from `flink-fs-tests` to a new public class `TestingBlobHelpers`, so all unit test classes can be package-private. - Applied AssertJ for all assertion and assumption statements. ## Verifying this change Any touched unit test should still run and verify the same thing as before. ## Does this pull request potentially affect one of the following parts: - Dependencies (does it add or upgrade a dependency): no - The public API, i.e., is any changed class annotated with `@Public(Evolving)`: no - The serializers: no - The runtime per-record code paths (performance sensitive): no - Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no - The S3 file system connector: no ## Documentation - Does this pull request introduce a new feature? no - If yes, how is the feature documented? not applicable -- 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