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:
Mark Robert Miller 2012-07-22 23:45:01 +00:00
parent 2f9aca255f
commit 318e8e1db5
1 changed files with 4 additions and 1 deletions

View File

@ -544,6 +544,9 @@ public class FullSolrCloudTest extends AbstractDistributedZkTestCase {
indexAbunchOfDocs();
// check again
waitForRecoveriesToFinish(false);
commit();
assertDocCounts(VERBOSE);
@ -1404,7 +1407,7 @@ public class FullSolrCloudTest extends AbstractDistributedZkTestCase {
+ DEFAULT_COLLECTION;
HttpSolrServer s = new HttpSolrServer(url);
s.setConnectionTimeout(DEFAULT_CONNECTION_TIMEOUT);
s.setSoTimeout(15000);
s.setSoTimeout(20000);
s.setDefaultMaxConnectionsPerHost(100);
s.setMaxTotalConnections(100);
return s;