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 22:50:00 UTC
[jira] [Resolved] (SOLR-15839) After upgrade of Lucene a test mocking org.apache.lucene.search.Sort no longer works (final class)
[ https://issues.apache.org/jira/browse/SOLR-15839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Uwe Schindler resolved SOLR-15839.
----------------------------------
Fix Version/s: main (9.0)
Assignee: Uwe Schindler
Resolution: Fixed
> 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
> Assignee: Uwe Schindler
> Priority: Major
> Fix For: main (9.0)
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> 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