linghengqian opened a new issue, #2489: URL: https://github.com/apache/shardingsphere-elasticjob/issues/2489
## Bug Report **For English only**, other languages will not accept. Before report a bug, make sure you have: - Searched open and closed [GitHub issues](https://github.com/apache/shardingsphere-elasticjob/issues). - Read documentation: [ElasticJob Doc](https://shardingsphere.apache.org/elasticjob/current/en/overview/). Please pay attention on issues you submitted, because we maybe need more details. If no response anymore and we cannot reproduce it on current information, we will **close it**. Please answer these questions before submitting your issue. Thanks! ### Which version of ElasticJob did you use? - https://github.com/apache/shardingsphere-elasticjob/commit/4d13c864b6d15063d3390578cb0ed843f52143a3 ### Expected behavior - Under a specific combination of `Windows Server 2025` and `JDK 24`, all unit tests performed normally. ### Actual behavior - Two unit tests are failing on a `Windows Server 2025` and `JDK 24` specific combination. See https://github.com/apache/shardingsphere-elasticjob/pull/2481 . ``` org.apache.shardingsphere.elasticjob.spring.namespace.job.JobSpringNamespaceWithTypeTest org.apache.shardingsphere.elasticjob.spring.namespace.job.OneOffJobSpringNamespaceWithTypeTest ``` ### Reason analyze (If you can) - `Windows Server 2025` uses `PowerShell 7` as its default shell, which behaves differently from `Bash`, the shell used by `Ubuntu`. However, further investigation is still needed, as I personally do not have a `Windows Server 2025` testing environment on my local machine. - The related unit tests also involve the issue at https://github.com/apache/shardingsphere-elasticjob/issues/2410 . ### Steps to reproduce the behavior. - For `Windows 11`, ```shell vfox add java vfox install [email protected] vfox use --global [email protected] git clone [email protected]:apache/shardingsphere-elasticjob.git cd ./shardingsphere-elasticjob/ ./mvnw --batch-mode --no-transfer-progress '-Dmaven.javadoc.skip=true' clean install -T1C ``` ### Example codes for reproduce this issue (such as a github link). - Not really needed. -- 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]
