You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Alexey Zinoviev (Jira)" <ji...@apache.org> on 2020/10/06 10:32:00 UTC
[jira] [Commented] (IGNITE-13532) [ML] Test
DatasetAffinityFunctionWrapperTest failed with UnnecessaryStubbingException
[ https://issues.apache.org/jira/browse/IGNITE-13532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17208647#comment-17208647 ]
Alexey Zinoviev commented on IGNITE-13532:
------------------------------------------
I've run ML visa due to changes related only to ML module
Currently TC Bot run on master with hundrends of broken tests and missed licenses
> [ML] Test DatasetAffinityFunctionWrapperTest failed with UnnecessaryStubbingException
> -------------------------------------------------------------------------------------
>
> Key: IGNITE-13532
> URL: https://issues.apache.org/jira/browse/IGNITE-13532
> Project: Ignite
> Issue Type: Bug
> Components: ml
> Reporter: Alexey Zinoviev
> Assignee: Alexey Zinoviev
> Priority: Critical
> Fix For: 2.10
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> NOTE: This is not reproduced locally, but reproduced on TC
>
> org.mockito.exceptions.misusing.UnnecessaryStubbingException: Unnecessary stubbings detected in test class: DatasetAffinityFunctionWrapperTest Clean & maintainable test code requires zero unnecessary code. Following stubbings are unnecessary (click to navigate to relevant line of code): 1. -> at org.apache.ignite.ml.dataset.impl.cache.util.DatasetAffinityFunctionWrapperTest.testPartition(DatasetAffinityFunctionWrapperTest.java:80) Please remove unnecessary stubbings or use 'lenient' strictness. More info: javadoc for UnnecessaryStubbingException class.
> org.mockito.exceptions.misusing.UnnecessaryStubbingException:
> Unnecessary stubbings detected in test class: DatasetAffinityFunctionWrapperTest
> Clean & maintainable test code requires zero unnecessary code.
> Following stubbings are unnecessary (click to navigate to relevant line of code):
> 1. -> at org.apache.ignite.ml.dataset.impl.cache.util.DatasetAffinityFunctionWrapperTest.testPartition(DatasetAffinityFunctionWrapperTest.java:80)
> Please remove unnecessary stubbings or use 'lenient' strictness. More info: javadoc for UnnecessaryStubbingException class.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)