spuru9 opened a new pull request, #1119: URL: https://github.com/apache/flink-kubernetes-operator/pull/1119
## What is the purpose of the change `FlinkUtilsZookeeperHATest` was the only test in the repo still importing from `org.junit.rules` (JUnit 4). The class was already using JUnit 5 Jupiter for everything else (`@Test`, `@BeforeEach`, `@AfterEach`) — only the temp-folder rule was a holdover. Replace `TemporaryFolder` with `@TempDir File` so the test stays fully on Jupiter and JUnit 5 handles temp-dir lifecycle automatically. ## Brief change log - `FlinkUtilsZookeeperHATest`: swap `org.junit.rules.TemporaryFolder` for `org.junit.jupiter.api.io.TempDir`; drop manual `create()` / `newFolder()` / `delete()` calls — JUnit 5 manages the temp dir. ## Verifying this change `mvn -pl flink-kubernetes-operator -am test -Dtest=FlinkUtilsZookeeperHATest` — 3/3 tests pass. ## Does this pull request potentially affect one of the following parts: - Dependencies: no - Public API / CRDs: no - Core observer/reconciler logic: no ## Documentation - New feature: no -- 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]
