mirror of https://github.com/apache/lucene.git
boost timeout slightly for connections and add another call to wait for a stable cluster before killing a node
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364463 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2f9aca255f
commit
318e8e1db5
|
@ -544,6 +544,9 @@ public class FullSolrCloudTest extends AbstractDistributedZkTestCase {
|
||||||
|
|
||||||
indexAbunchOfDocs();
|
indexAbunchOfDocs();
|
||||||
|
|
||||||
|
// check again
|
||||||
|
waitForRecoveriesToFinish(false);
|
||||||
|
|
||||||
commit();
|
commit();
|
||||||
|
|
||||||
assertDocCounts(VERBOSE);
|
assertDocCounts(VERBOSE);
|
||||||
|
@ -1404,7 +1407,7 @@ public class FullSolrCloudTest extends AbstractDistributedZkTestCase {
|
||||||
+ DEFAULT_COLLECTION;
|
+ DEFAULT_COLLECTION;
|
||||||
HttpSolrServer s = new HttpSolrServer(url);
|
HttpSolrServer s = new HttpSolrServer(url);
|
||||||
s.setConnectionTimeout(DEFAULT_CONNECTION_TIMEOUT);
|
s.setConnectionTimeout(DEFAULT_CONNECTION_TIMEOUT);
|
||||||
s.setSoTimeout(15000);
|
s.setSoTimeout(20000);
|
||||||
s.setDefaultMaxConnectionsPerHost(100);
|
s.setDefaultMaxConnectionsPerHost(100);
|
||||||
s.setMaxTotalConnections(100);
|
s.setMaxTotalConnections(100);
|
||||||
return s;
|
return s;
|
||||||
|
|
Loading…
Reference in New Issue