SOLR-8451: fix randomization in test.

This commit is contained in:
Mark Miller 2016-01-28 12:28:10 -05:00 committed by Mark Miller
parent 5a4bb9f2a1
commit 62c9b6a172
1 changed files with 1 additions and 1 deletions

View File

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