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

Andrzej Bialecki  commented on SOLR-12762:
------------------------------------------

Several tests already use {{CloudTestUtils.clusterShape(...)}}, which provides 
more options, among others checking only active shards and checking for shard 
leaders - we should probably consolidate this code in one place.

> SolrCloudTestCase.clusterShape should check for active slices instead of all 
> slices
> -----------------------------------------------------------------------------------
>
>                 Key: SOLR-12762
>                 URL: https://issues.apache.org/jira/browse/SOLR-12762
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Tests
>            Reporter: Anshum Gupta
>            Assignee: Anshum Gupta
>            Priority: Trivial
>             Fix For: 7.6, master (8.0)
>
>         Attachments: SOLR-12762.01.patch, SOLR-12762.patch
>
>
> SolrCloudTestCase.clusterShare should assert against the active slices, based 
> on the javadoc and usage but it instead checks for all slices.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to