[
https://issues.apache.org/jira/browse/SOLR-8489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15085443#comment-15085443
]
Christine Poerschke commented on SOLR-8489:
-------------------------------------------
Oops. Thanks for the "{{Map.putIfAbsent()}} was added in Java8" pointer. Will
change {{TestMiniSolrCloudCluster.java}} branch_5x code to avoid putIfAbsent
then.
> TestMiniSolrCloudCluster.createCollection to support extra & alternative
> collectionProperties
> ---------------------------------------------------------------------------------------------
>
> Key: SOLR-8489
> URL: https://issues.apache.org/jira/browse/SOLR-8489
> Project: Solr
> Issue Type: Test
> Reporter: Christine Poerschke
> Assignee: Christine Poerschke
> Priority: Minor
> Fix For: 5.5, Trunk
>
> Attachments: SOLR-8489.patch
>
>
> * add optional collectionProperties map arg and use putIfAbsent instead of
> put with the map
> * move persistIndex i.e. solr.directoryFactory randomisation from the several
> callers to just-once in createCollection
> These changes are refactors only and intended to *not* change the existing
> tests' behaviour.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]