Apache Lucene open-source search software
SOLR-9604,SOLR-9608: fix HttpSolrClientConPoolTest.testPoolSize()
Mikhail Khludnevd8bb56d4ad31
diff --git a/solr/solrj/src/test/org/apache/solr/client/solrj/impl/HttpSolrClientConPoolTest.java b/solr/solrj/src/test/org/apache/solr/client/solrj/impl/HttpSolrClientConPoolTest.javaindex 1e9b0f397c0..e38ec124d67 100644--- a/solr/solrj/src/test/org/apache/solr/client/solrj/impl/HttpSolrClientConPoolTest.java+++ b/solr/solrj/src/test/org/apache/solr/client/solrj/impl/HttpSolrClientConPoolTest.java@@ -75,6 +75,13 @@ public class HttpSolrClientConPoolTest extends SolrJettyTestBase {}final String barUrl = yetty.getBaseUrl().toString() + "/" + "collection1";+ {+ client1.setBaseURL(fooUrl);+ client1.deleteByQuery("*:*");+ client1.setBaseURL(barUrl);+ client1.deleteByQuery("*:*");+ }+List<String> urls = new ArrayList<>();for(int i=0; i<17; i++) {urls.add(fooUrl);