Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-13532

[ML] Test DatasetAffinityFunctionWrapperTest failed with UnnecessaryStubbingException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 2.10
    • ml
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              zaleslaw Alexey Zinoviev
              zaleslaw Alexey Zinoviev
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m