tests: tweak timeouts

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544994 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Robert Miller 2013-11-24 15:23:32 +00:00
parent 04fd728416
commit 6c9d05e97d
1 changed files with 2 additions and 2 deletions

View File

@ -230,8 +230,8 @@ public class UnloadDistributedZkTest extends BasicDistributedZkTest {
DirectUpdateHandler2.commitOnClose = false; DirectUpdateHandler2.commitOnClose = false;
HttpSolrServer addClient = new HttpSolrServer(url3 + "/unloadcollection3"); HttpSolrServer addClient = new HttpSolrServer(url3 + "/unloadcollection3");
addClient.setConnectionTimeout(15000); addClient.setConnectionTimeout(30000);
addClient.setSoTimeout(30000);
// add a few docs // add a few docs
for (int x = 20; x < 100; x++) { for (int x = 20; x < 100; x++) {
SolrInputDocument doc1 = getDoc(id, x, i1, -600, tlong, 600, t1, SolrInputDocument doc1 = getDoc(id, x, i1, -600, tlong, 600, t1,