SOLR-3854: Boost test timeouts - SSL can be slower.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1566483 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Robert Miller 2014-02-10 00:50:23 +00:00
parent de6514e214
commit 37fc18ef9f
2 changed files with 2 additions and 2 deletions

View File

@ -438,7 +438,7 @@ public class FullSolrCloudDistribCmdsTest extends AbstractFullDistribZkTestBase
long beforeCount = results.getResults().getNumFound();
int cnt = TEST_NIGHTLY ? 2933 : 313;
try {
suss.setConnectionTimeout(30000);
suss.setConnectionTimeout(120000);
for (int i = 0; i < cnt; i++) {
index_specific(suss, id, docId++, "text_t", "some text so that it not's negligent work to parse this doc, even though it's still a pretty short doc");
}

View File

@ -121,7 +121,7 @@ import com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule;
})
public abstract class SolrTestCaseJ4 extends LuceneTestCase {
private static String coreName = ConfigSolrXmlOld.DEFAULT_DEFAULT_CORE_NAME;
public static int DEFAULT_CONNECTION_TIMEOUT = 30000; // default socket connection timeout in ms
public static int DEFAULT_CONNECTION_TIMEOUT = 45000; // default socket connection timeout in ms
protected static volatile SSLConfig sslConfig = new SSLConfig();