Uploaded image for project: 'Solr Search Provider'
  1. Solr Search Provider
  2. MGNLEESOLR-239

Re-introduce ignored CleanSolrIndexerCommandTest

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • Neutral
    • 7.0
    • 6.1.8, 7.0
    • None

    Description

      Tests started to fail after updating to the latest minor release of jsoup. Likely some internal api changes there broke the ability to mock org.jsoup.Connection interface.

      Mockito cannot mock this class: interface org.jsoup.Connection. If you're not sure why you're getting this error, please report to the mailing list. Java : 1.8 JVM vendor name : Oracle Corporation JVM vendor version : 25.152-b16 JVM name : Java HotSpot(TM) 64-Bit Server VM JVM version : 1.8.0_152-b16 JVM info : mixed mode OS name : Linux OS version : 5.15.0-1030-aws You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : java.lang.NullPointerException
      
      

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              fgrilli Federico Grilli
              fgrilli Federico Grilli
              Foundation
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Work Started:

                Checklists

                  Task DoR