SOLR-9604,SOLR-9608: fix HttpSolrClientConPoolTest.testPoolSize()

This commit is contained in:
Mikhail Khludnev 2016-10-09 18:17:49 +03:00
parent f22b1da261
commit d8bb56d4ad
1 changed files with 7 additions and 0 deletions

View File

@ -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);