mirror of https://github.com/apache/lucene.git
SOLR-8451: fix randomization in test.
This commit is contained in:
parent
5a4bb9f2a1
commit
62c9b6a172
|
@ -79,7 +79,7 @@ public class ConnectionReuseTest extends AbstractFullDistribZkTestBase {
|
|||
|
||||
SolrClient client;
|
||||
HttpClient httpClient = HttpClientUtil.createClient(null);
|
||||
int rndClient = 0;//random().nextInt(3);
|
||||
int rndClient = random().nextInt(3);
|
||||
if (rndClient == 0) {
|
||||
client = new ConcurrentUpdateSolrClient(url.toString(), httpClient, 6, 1); // currently only testing with 1 thread
|
||||
} else if (rndClient == 1) {
|
||||
|
|
Loading…
Reference in New Issue