-
Notifications
You must be signed in to change notification settings - Fork 5k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Search before asking
- I had searched in the issues 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
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?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working