lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-8674) increase <mergePolicy> vs. <mergePolicyFactory> test coverage
Date Mon, 20 Jun 2016 23:05:58 GMT

    [ https://issues.apache.org/jira/browse/SOLR-8674?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15340626#comment-15340626
] 

ASF subversion and git services commented on SOLR-8674:
-------------------------------------------------------

Commit 59a664ec27ddf89134dc0f636f38b7a05b2be776 in lucene-solr's branch refs/heads/branch_5_5
from [~cpoerschke]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=59a664e ]

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).)

Added 5.5.2 CHANG5 entry.


> increase <mergePolicy> vs. <mergePolicyFactory> test coverage
> -------------------------------------------------------------
>
>                 Key: SOLR-8674
>                 URL: https://issues.apache.org/jira/browse/SOLR-8674
>             Project: Solr
>          Issue Type: Test
>            Reporter: Christine Poerschke
>            Assignee: Christine Poerschke
>             Fix For: 6.0
>
>         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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message