mirror of https://github.com/apache/lucene.git
SOLR-11015: Increase socket timeout time for client used for admin operations in ChaosMonkey tests
This commit is contained in:
parent
30e9b51af7
commit
f0cc3769b5
|
@ -1738,7 +1738,7 @@ public abstract class AbstractFullDistribZkTestBase extends AbstractDistribZkTes
|
||||||
protected SolrClient createNewSolrClient(String collection, String baseUrl) {
|
protected SolrClient createNewSolrClient(String collection, String baseUrl) {
|
||||||
try {
|
try {
|
||||||
// setup the server...
|
// setup the server...
|
||||||
HttpSolrClient client = getHttpSolrClient(baseUrl + "/" + collection, DEFAULT_CONNECTION_TIMEOUT);
|
HttpSolrClient client = getHttpSolrClient(baseUrl + "/" + collection, DEFAULT_CONNECTION_TIMEOUT, 60000);
|
||||||
return client;
|
return client;
|
||||||
}
|
}
|
||||||
catch (Exception ex) {
|
catch (Exception ex) {
|
||||||
|
|
Loading…
Reference in New Issue