[
https://issues.apache.org/jira/browse/SOLR-15935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17478211#comment-17478211
]
Houston Putman commented on SOLR-15935:
---------------------------------------
The test fails, because it expects that the replica for shard 1 that gets
created at the end will always be called: {{halfcollection_shard1_replica_n1}}
However sometimes the replica for shard 2 is called
"halfcollection_shard2_replica_n1" and the replica for shard 1 is called
"halfcollection_shard1_replica_n2", resulting in the test failing.
There is no reason to create 2 shards in the end anyways, 1 shard is enough to
cause the test to fail reliably.
> CollectionsAPIDistributedZkTest.testCreateShouldFailOnExistingCore fails
> consistently
> -------------------------------------------------------------------------------------
>
> Key: SOLR-15935
> URL: https://issues.apache.org/jira/browse/SOLR-15935
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Houston Putman
> Assignee: Houston Putman
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> {{CollectionsAPIDistributedZkTest.testCreateShouldFailOnExistingCore}} has
> been failing consistently since the new year:
> [http://fucit.org/solr-jenkins-reports/history-trend-of-recent-failures.html#series/org.apache.solr.cloud.api.collections.CollectionsAPIDistributedZkTest.testCreateShouldFailOnExistingCore]
> This is possibly connected to SOLR-15209, but regardless the test shouldn't
> rely on the numbering of replicas based on shard/node.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]