[
https://issues.apache.org/jira/browse/SOLR-8674?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15157281#comment-15157281
]
ASF subversion and git services commented on SOLR-8674:
-------------------------------------------------------
Commit e6bc86d4b972e9560ff524ba113b474365982a59 in lucene-solr's branch
refs/heads/branch_5x from [~cpoerschke]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=e6bc86d ]
SOLR-8674: solr.tests.mergePolicy[Factory] tests now randomly choose between
<mergePolicy> and <mergePolicyFactory>
* This increases <mergePolicy> vs. <mergePolicyFactory> test coverage.
* This temporarily also adds a little test setup complexity but when SOLR-8668
removes support for <mergePolicy> then test setup will return to its original
complexity.
(Resolved conflict for
solr/core/src/test/org/apache/solr/cloud/TestMiniSolrCloudCluster.java (java7
has no putIfAbsent).)
> transition from solr.tests.mergePolicy to solr.tests.mergePolicyFactory
> -----------------------------------------------------------------------
>
> Key: SOLR-8674
> URL: https://issues.apache.org/jira/browse/SOLR-8674
> Project: Solr
> Issue Type: Test
> Reporter: Christine Poerschke
> Assignee: Christine Poerschke
> Attachments: SOLR-8674.patch
>
>
> Following on from SOLR-8621 which deprecated/replaced <mergePolicy> with
> <mergePolicyFactory> there are some test solrconfig.xml files and associated
> test code that need to be transitioned from
> {code}
> <mergePolicy
> class="${solr.tests.mergePolicy:org.apache.solr.util.RandomMergePolicy}"/>
> {code}
> to
> {code}
> <mergePolicyFactory
> class="${solr.tests.mergePolicyFactory:org.apache.solr.util.RandomMergePolicyFactory}"/>
> {code}
> or something similar.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]