[
https://issues.apache.org/jira/browse/SOLR-8862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15198397#comment-15198397
]
ASF subversion and git services commented on SOLR-8862:
-------------------------------------------------------
Commit a0d48f873c21ca0ab5ba02748c1659a983aad886 in lucene-solr's branch
refs/heads/jira/SOLR-445 from [[email protected]]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=a0d48f8 ]
SOLR-445: start of a new randomized/chaosmonkey test, currently blocked by
SOLR-8862 (no monkey yet)
> MiniSolrCloudCluster.createCollection can complain there are no live servers
> immediately after construction
> -----------------------------------------------------------------------------------------------------------
>
> Key: SOLR-8862
> URL: https://issues.apache.org/jira/browse/SOLR-8862
> Project: Solr
> Issue Type: Bug
> Components: Tests
> Reporter: Hoss Man
>
> I haven't been able to make sense of this yet, but what i'm seeing in a new
> SolrCloudTestCase subclass i'm writing is that the code below, which
> (reasonably) attempts to create a collection immediately after configuring
> the MiniSolrCloudCluster gets a "SolrServerException: No live SolrServers
> available to handle this request" -- in spite of the fact, that (as far as i
> can tell at first glance) MiniSolrCloudCluster's constructor is suppose to
> block until all the servers are live..
> {code}
> configureCluster(numServers)
> .addConfig(configName, configDir.toPath())
> .configure();
> Map<String, String> collectionProperties = ...;
> assertNotNull(cluster.createCollection(COLLECTION_NAME, numShards,
> repFactor,
> configName, null, null,
> collectionProperties));
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]