nevzheng opened a new issue, #14105: URL: https://github.com/apache/gravitino/issues/14105
### Describe the subtask Move the test toolchain to the versions the container framework (#14002) builds on. Each PR merges on `main` on its own: 1. **Remove JUnit 4.** 42 test files still use `org.junit.Assert`, and two JUnit 4 test classes (`TestGravitinoCatalogStore`, `TestOwnerDetails`) were never run by the JUnit Platform. They compile only because Testcontainers 1.x puts `junit:junit` on the test classpath. 2. **JUnit 5.8.1 → 6.1.3**, with `junit-platform-launcher` on the test runtime and the two extension API changes JUnit 6 needs. 3. **`BackendTestExtension` on JUnit's store cleanup**, so it and the fixtures of #14002 close resources the same way. Testcontainers 1.21.4 → 2.0.5 is #13958 and lands between 2 and 3; 2.x drops `junit:junit`, which is why 1 comes first. ### Parent issue #13900 ### Order and PRs #14103 (JUnit 4 removal) → #14083 (JUnit 6) → #14084 (Testcontainers 2, closes #13958) → #14085 (`BackendTestExtension`, closes this issue). -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
