[
https://issues.apache.org/jira/browse/SOLR-8758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15172348#comment-15172348
]
ASF subversion and git services commented on SOLR-8758:
-------------------------------------------------------
Commit 9a3458f69328045a8c62acc826f3012edeb154c6 in lucene-solr's branch
refs/heads/master from [~romseygeek]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=9a3458f ]
SOLR-8758: Add SolrCloudTestCase base class
> Add SolrCloudTestCase base class
> --------------------------------
>
> Key: SOLR-8758
> URL: https://issues.apache.org/jira/browse/SOLR-8758
> Project: Solr
> Issue Type: Improvement
> Reporter: Alan Woodward
> Fix For: 6.0
>
> Attachments: SOLR-8758.patch
>
>
> At the moment, if you want to write unit tests for Cloud components, you have
> to extend AbstractDistribZkTestCase, which has a number of disadvantages:
> * the API isn't well-documented
> * you get a default configuration loaded into ZK, and it's not trivial to add
> separate ones
> * you get a default collection, whether you want one or not
> * the test cluster isn't static, which means that it's started up and
> shutdown after every test function. To avoid tests being incredibly slow, we
> end up writing single-function tests that call out to sub-functions, losing
> the benefits of execution-order randomization.
> It would be more useful to have a properly configurable and documented
> testcase base class.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]