[ https://issues.apache.org/jira/browse/SOLR-15935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17478240#comment-17478240 ]
ASF subversion and git services commented on SOLR-15935: -------------------------------------------------------- Commit 1c900b86d241dd46ed47d69b0c33efb3c0c350aa in solr's branch refs/heads/branch_9x from Houston Putman [ https://gitbox.apache.org/repos/asf?p=solr.git;h=1c900b8 ] SOLR-15935: Fix CollectionsAPIDistributedZkTest.testCreateShouldFailOnExistingCore (#539) 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. (cherry picked from commit 3eefabbf1caf740ee802b2002a834dd1bb6e34f2) > 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: 20m > 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: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org