Hoss Man created SOLR-8862:
------------------------------
Summary: 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]