Uwe Schindler created SOLR-15839:
------------------------------------

             Summary: After upgrade of Lucene a test mocking 
org.apache.lucene.search.Sort no longer works (final class)
                 Key: SOLR-15839
                 URL: https://issues.apache.org/jira/browse/SOLR-15839
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
          Components: Tests
    Affects Versions: main (9.0)
            Reporter: Uwe Schindler


See error message: 
https://jenkins.thetaphi.de/job/Solr-main-Linux/2070/testReport/junit/org.apache.solr.handler.component/QueryComponentPartialResultsTest/includesPartialShardResultWhenUsingExplicitScoreSort/

{noformat}
Mockito cannot mock/spy because :
 - final class
        at 
__randomizedtesting.SeedInfo.seed([73F81B5CBD838FB3:99A391C7F33C98A3]:0)
        at 
app//org.apache.solr.handler.component.MockSortSpecBuilder.withSortFields(MockSortSpecBuilder.java:37)
        at 
app//org.apache.solr.handler.component.QueryComponentPartialResultsTest.includesPartialShardResultWhenUsingExplicitScoreSort(QueryComponentPartialResultsTest.java:54)
{noformat}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to