mirror of https://github.com/apache/lucene.git
SOLR-9604,SOLR-9608: fix HttpSolrClientConPoolTest.testPoolSize()
This commit is contained in:
parent
f22b1da261
commit
d8bb56d4ad
|
@ -75,6 +75,13 @@ public class HttpSolrClientConPoolTest extends SolrJettyTestBase {
|
||||||
}
|
}
|
||||||
final String barUrl = yetty.getBaseUrl().toString() + "/" + "collection1";
|
final String barUrl = yetty.getBaseUrl().toString() + "/" + "collection1";
|
||||||
|
|
||||||
|
{
|
||||||
|
client1.setBaseURL(fooUrl);
|
||||||
|
client1.deleteByQuery("*:*");
|
||||||
|
client1.setBaseURL(barUrl);
|
||||||
|
client1.deleteByQuery("*:*");
|
||||||
|
}
|
||||||
|
|
||||||
List<String> urls = new ArrayList<>();
|
List<String> urls = new ArrayList<>();
|
||||||
for(int i=0; i<17; i++) {
|
for(int i=0; i<17; i++) {
|
||||||
urls.add(fooUrl);
|
urls.add(fooUrl);
|
||||||
|
|
Loading…
Reference in New Issue