[FLINK-27758][tests][table] Migrate flink-table-runtime to JUnit5
What is the purpose of the change
Update the flink-table-runtime module to AssertJ and JUnit 5 following the JUnit 5 Migration Guide
Brief change log
Use JUnit5 and AssertJ in tests instead of JUnit4 and Hamcrest
Verifying this change
This change is a code cleanup without any test coverage.
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)
CI report:
- 035844d9f808217fa24b9252e7e36fe225d58ef3 Azure: SUCCESS
Bot commands
The @flinkbot bot supports the following commands:@flinkbot run azurere-run the last Azure build
@flinkbot run azure
~~The PR is based on PR/commit https://github.com/apache/flink/pull/19780 migrating TypeSerializerUpgradeTestBase to JUnit5~~
rebased on master
@Jiabao-Sun since you are one of those who is active in junit4-junit5 migration may I ask you to have a look here?
thanks a lot for taking a look