You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Steve Davids (JIRA)" <ji...@apache.org> on 2014/09/06 21:50:28 UTC

[jira] [Updated] (SOLR-6483) Refactor some methods in MiniSolrCloudCluster tests

     [ https://issues.apache.org/jira/browse/SOLR-6483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Davids updated SOLR-6483:
-------------------------------
    Attachment: SOLR-6483.patch

Initial patch which has allowed additional convenience methods in the MiniSolrCloudCluster including:

# Upload a config directory to ZooKeeper
# Create a collection
#* Added ability to provide collection properties
# Use a pre-configured CloudSolrServer instance

The TestMiniSolrCloudCluster has been refactored to use these new methods.

A few additional changes that should still be done:

# Provide waitForRecoveriesToFinish convenience method in MiniSolrCloudCluster
#* The code in the test is almost a direct copy/past from AbstractDistribZkTestBase.waitForRecoveriesToFinish, it would be nice to refactor this code into a common class (as this is not trivial code to maintain).
# All system properties were dropped *except* for solr.solrxml.location & zkHost because those are necessary for Jetty to know where to pick up it's configuration on initial startup. It would be nice to see if there is an alternate way of getting that information to Jetty without setting the system property.

> Refactor some methods in MiniSolrCloudCluster tests
> ---------------------------------------------------
>
>                 Key: SOLR-6483
>                 URL: https://issues.apache.org/jira/browse/SOLR-6483
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 5.0, 4.11
>            Reporter: Erick Erickson
>            Assignee: Erick Erickson
>            Priority: Minor
>         Attachments: SOLR-6483.patch
>
>
> Looking at whether we can provide some ease-of-use methods in MiniSolrCloudCluster



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