Repository navigation
Aliyun: Switch iceberg-aliyun's tests to Junit5 - #9122
Conversation
Change Junit4 Assume to Junit5 Assumptions
Resolve review comment
053da9a to
6f77853
Compare
Resolve review comment
Thank you for your patient review. I'm sorry for introducing unnecessary blank lines. I will pay attention to this issue when writing code in the future. Btw, should I squash the commits together or you will do that when merging the pr? |
commits will be squashed when the PR is getting merged, so it's up to you if you want to squash them or not. |
hi, @nastra, any addtional work should I do for this PR to move forward? |
Let's give @openinx a few days to review this PR |
Switch iceberg-aliyun's tests to Junit5
Fix: #9081
@nastra Hi, I have changed all of the junit4 code to junit5 with AssertJ, but I have a question here: To fit the Extension class of Junit5, I changed most of the term 'Rule' to 'Extension', but there is a system env variable in
org/apache/iceberg/aliyun/TestUtility.javacalledALIYUN_TEST_OSS_TEST_RULE_CLASS.I don't know where the CI system runs, and how the variable is set. So I'm not sure if I should change this.