lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@apache.org
Subject [lucene-solr] branch branch_8x updated: SOLR-13450: Backport the fix from CloudHttp2SolrClientTest
Date Wed, 29 May 2019 15:57:33 GMT
This is an automated email from the ASF dual-hosted git repository.

datcm pushed a commit to branch branch_8x
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git


The following commit(s) were added to refs/heads/branch_8x by this push:
     new 190b633  SOLR-13450: Backport the fix from CloudHttp2SolrClientTest
190b633 is described below

commit 190b633b7eb42019ffc0e4f8287d27b50b4438be
Author: Cao Manh Dat <datcm@apache.org>
AuthorDate: Wed May 29 16:55:58 2019 +0100

    SOLR-13450: Backport the fix from CloudHttp2SolrClientTest
---
 .../src/test/org/apache/solr/client/solrj/impl/CloudSolrClientTest.java | 2 ++
 1 file changed, 2 insertions(+)

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.java
index 23b67d4..24f4a4b 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,


Mime
View raw message