linghengqian opened a new pull request, #2482: URL: https://github.com/apache/shardingsphere-elasticjob/pull/2482
For #2410 . Changes proposed in this pull request: - Prevent unit tests from using host ports `18181`. - It's unfortunate to see that https://github.com/spring-projects/spring-framework/issues/26196 remains unresolved after 5 years. The use of `org.springframework.test.annotation.DirtiesContext` has become more widespread than ever. Otherwise, ```shell [ERROR] 2025-09-12 22:47:58,443 --Quartz Shutdown-Hook printTestJob-- [org.apache.zookeeper.server.NIOServerCnxnFactory] Thread Thread[#113,Quartz Shutdown-Hook printTestJob,5,main] died org.apache.shardingsphere.elasticjob.reg.exception.RegException: java.lang.IllegalStateException: Client is not started at org.apache.shardingsphere.elasticjob.reg.exception.RegExceptionHandler.handleException(RegExceptionHandler.java:46) at org.apache.shardingsphere.elasticjob.reg.zookeeper.ZookeeperRegistryCenter.getDirectly(ZookeeperRegistryCenter.java:184) at org.apache.shardingsphere.elasticjob.reg.zookeeper.ZookeeperRegistryCenter.lambda$get$1(ZookeeperRegistryCenter.java:165) at java.base/java.util.Optional.orElseGet(Optional.java:364) ``` -- 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: notifications-unsubscr...@shardingsphere.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org