lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sami Siren (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-3731) Disallow null CoreContainer in ZkController constructor
Date Wed, 15 Aug 2012 10:20:37 GMT

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

Sami Siren updated SOLR-3731:
-----------------------------

    Attachment: SOLR-3731.patch

patch that changes the following:
-ZkController: throw IAE when CoreContainer is null, remove null logic that applies to tests
only

-OverseerTest: use mock

-ZkControllerTest: remove testCoreUnload (this is tested through BasicDistributedZkTest#testCollectionsApi)
                   other methods seem to continue working if a dummy CoreContainer is used
                
> Disallow null CoreContainer in ZkController constructor
> -------------------------------------------------------
>
>                 Key: SOLR-3731
>                 URL: https://issues.apache.org/jira/browse/SOLR-3731
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrCloud
>            Reporter: Sami Siren
>            Priority: Minor
>         Attachments: SOLR-3731.patch
>
>
> Currently some tests use null CoreContainer when using ZkController directly in tests
and ZKController has to deal with this. I'd like to remove this possibility.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message