SOLR-5776: Use less SSL in a test run.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1647147 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Robert Miller 2014-12-21 14:55:00 +00:00
parent a9f6aaaee1
commit ec9fdd5943
1 changed files with 3 additions and 2 deletions

View File

@ -244,8 +244,9 @@ public abstract class SolrTestCaseJ4 extends LuceneTestCase {
return new SSLTestConfig();
}
final boolean trySsl = random().nextBoolean();
boolean trySslClientAuth = random().nextBoolean();
// we don't choose ssl that often because of SOLR-5776
final boolean trySsl = random().nextInt(10) < 2;
boolean trySslClientAuth = random().nextInt(10) < 2;
if (Constants.MAC_OS_X) {
trySslClientAuth = false;
}