epugh commented on code in PR #1256: URL: https://github.com/apache/solr/pull/1256#discussion_r1148551005
########## solr/core/src/test/org/apache/solr/cloud/FullSolrCloudDistribCmdsTest.java: ########## @@ -258,25 +278,38 @@ public void testDeleteByIdImplicitRouter() throws Exception { } } + private String specifyCollectionParameterForCloudSolrClient( + SolrClient solrClient, String collectionName) { + // For CloudSolrClient we must specify the collection name as a parameter, + // however for shard1 and shard2, it's already part of the URL so we can specify a null + // parameter. The + // instanceof check makes that decision. + String collectionNameRequiredParameter = null; + if (solrClient instanceof CloudSolrClient) { + collectionNameRequiredParameter = collectionName; + } + return collectionNameRequiredParameter; Review Comment: ended up removing this method... Yeah, it was icky. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org