Apache Solr open-source search software
SOLR-13450: Backport the fix from CloudHttp2SolrClientTest
Cao Manh Dat43397ff0a2c0
diff --git a/solr/solrj/src/test/org/apache/solr/client/solrj/impl/CloudSolrClientTest.java b/solr/solrj/src/test/org/apache/solr/client/solrj/impl/CloudSolrClientTest.javaindex 23b67d4b055..24f4a4b4f43 100644--- a/solr/solrj/src/test/org/apache/solr/client/solrj/impl/CloudSolrClientTest.java+++ b/solr/solrj/src/test/org/apache/solr/client/solrj/impl/CloudSolrClientTest.java@@ -892,6 +892,8 @@ public class CloudSolrClientTest extends SolrCloudTestCase {queryWithPreferReplicaTypes(getRandomClient(), "TLOG|PULL", true, collectionName);queryWithPreferReplicaTypes(getRandomClient(), "NRT", false, collectionName);queryWithPreferReplicaTypes(getRandomClient(), "NRT|PULL", true, collectionName);+ CollectionAdminRequest.deleteCollection(collectionName)+ .processAndWait(cluster.getSolrClient(), TIMEOUT);}private void queryWithPreferReplicaTypes(CloudSolrClient cloudClient,