EricGao888 opened a new issue, #11405:
URL: https://github.com/apache/dolphinscheduler/issues/11405

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and 
found no similar feature requirement.
   
   
   ### Description
   
   * As stated in 
https://github.com/apache/dolphinscheduler/issues/10976#issuecomment-1207427898,
 `Powermock` does not and will not support `jUnit 5`. We need to remove the 
dependency on `Powermock`.
   * One possible way is to use a high version (greater than 3.4.0) of 
`Mockito` to mock `static` method, see: 
https://wttech.blog/blog/2020/mocking-static-methods-made-possible-in-mockito-3.4.0/
   
   ### Are you willing to submit a PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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]

Reply via email to