You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2021/09/27 03:25:04 UTC

[GitHub] [dolphinscheduler] baisui1981 opened a new issue #6367: [Bug] [Plugin TIS] Misuseing PowerMockito.spy lead to UT faild

baisui1981 opened a new issue #6367:
URL: https://github.com/apache/dolphinscheduler/issues/6367


   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### What happened
   
   In Plugin TIS TestCase , by misuseing PowerMockito.spy lead to UT faild
   [https://github.com/apache/dolphinscheduler/pull/6363/checks](https://github.com/apache/dolphinscheduler/pull/6363/checks)
   ```
   Error:  Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.786 s <<< FAILURE! - in org.apache.dolphinscheduler.plugin.task.tis.TISTaskTest
   Error:  testInit(org.apache.dolphinscheduler.plugin.task.tis.TISTaskTest)  Time elapsed: 0.531 s  <<< ERROR!
   java.lang.IllegalArgumentException: name argument cannot be null
   	at org.apache.dolphinscheduler.plugin.task.tis.TISTaskTest.before(TISTaskTest.java:71)
   
   Error:  testGetTISConfigParams(org.apache.dolphinscheduler.plugin.task.tis.TISTaskTest)  Time elapsed: 0.001 s  <<< ERROR!
   java.lang.IllegalArgumentException: name argument cannot be null
   	at org.apache.dolphinscheduler.plugin.task.tis.TISTaskTest.before(TISTaskTest.java:71)
   
   Error:  testHandle(org.apache.dolphinscheduler.plugin.task.tis.TISTaskTest)  Time elapsed: 0.001 s  <<< ERROR!
   java.lang.IllegalArgumentException: name argument cannot be null
   	at org.apache.dolphinscheduler.plugin.task.tis.TISTaskTest.before(TISTaskTest.java:71)
   ```
   
   
   
   ### What you expected to happen
   
   make the UT pass
   
   ### How to reproduce
   
   for fix this bug ,shoud remote PowerMockito.spy() invoking
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit 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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] CalvinKirs closed issue #6367: [Bug] [Plugin TIS] Misuseing PowerMockito.spy lead to UT faild

Posted by GitBox <gi...@apache.org>.
CalvinKirs closed issue #6367:
URL: https://github.com/apache/dolphinscheduler/issues/6367


   


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] CalvinKirs closed issue #6367: [Bug] [Plugin TIS] Misuseing PowerMockito.spy lead to UT faild

Posted by GitBox <gi...@apache.org>.
CalvinKirs closed issue #6367:
URL: https://github.com/apache/dolphinscheduler/issues/6367


   


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org