You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Uwe Schindler (Jira)" <ji...@apache.org> on 2021/12/08 14:29:00 UTC

[jira] [Created] (SOLR-15839) After upgrade of Lucene a test mocking org.apache.lucene.search.Sort no longer works (final class)

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-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org