[ 
https://issues.apache.org/jira/browse/SOLR-3854?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Steve Davids updated SOLR-3854:
-------------------------------

    Attachment: SOLR-3854v3.patch

I was able to reproduce this problem in OSX in both BasicDistributedZk2Test and 
BasicDistributedZkTest when using two-way SSL by configuring "useSsl = true" 
and "useClientAuth = true". Once the useClientAuth was turned off it seems to 
consistently provide good test runs.

Here is the full test suite results:

{noformat:title=trySsl = true, trySslClientAuth = true}
   [junit4] Tests with failures:
   [junit4]   - org.apache.solr.cloud.BasicDistributedZk2Test.testDistribSearch
   [junit4]   - org.apache.solr.TestDistributedSearch.testDistribSearch
   [junit4]   - org.apache.solr.cloud.DistribCursorPagingTest.testDistribSearch
   [junit4]   - org.apache.solr.cloud.BasicDistributedZkTest.testDistribSearch
   [junit4]   - org.apache.solr.TestDistributedGrouping.testDistribSearch
   [junit4]   - 
org.apache.solr.update.SoftAutoCommitTest.testSoftAndHardCommitMaxTimeMixedAdds
   [junit4] 
   [junit4] 
   [junit4] JVM J0:     2.58 ..   899.26 =   896.67s
   [junit4] JVM J1:     2.81 ..   899.14 =   896.33s
   [junit4] JVM J2:     2.58 ..   899.03 =   896.45s
   [junit4] JVM J3:     2.59 ..   899.27 =   896.69s
   [junit4] JVM J4:     2.58 ..   899.27 =   896.69s
   [junit4] JVM J5:     2.84 ..   899.09 =   896.25s
   [junit4] JVM J6:     2.80 ..   899.13 =   896.33s
   [junit4] JVM J7:     2.58 ..   899.07 =   896.49s
   [junit4] Execution time total: 14 minutes 59 seconds
   [junit4] Tests summary: 372 suites, 1603 tests, 5 errors, 1 failure, 26 
ignored (13 assumptions)
{noformat}

{noformat:title=trySsl = true, trySslClientAuth = false}
   [junit4] Tests with failures:
   [junit4]   - 
org.apache.solr.update.SoftAutoCommitTest.testSoftAndHardCommitMaxTimeMixedAdds
   [junit4] 
   [junit4] 
   [junit4] JVM J0:     2.27 ..   716.97 =   714.69s
   [junit4] JVM J1:     2.28 ..   716.79 =   714.51s
   [junit4] JVM J2:     2.27 ..   716.99 =   714.72s
   [junit4] JVM J3:     2.52 ..   716.78 =   714.26s
   [junit4] JVM J4:     2.28 ..   716.82 =   714.54s
   [junit4] JVM J5:     2.52 ..   717.00 =   714.48s
   [junit4] JVM J6:     2.28 ..   716.80 =   714.52s
   [junit4] JVM J7:     2.27 ..   716.95 =   714.67s
   [junit4] Execution time total: 11 minutes 57 seconds
   [junit4] Tests summary: 372 suites, 1603 tests, 1 failure, 26 ignored (13 
assumptions)
{noformat}

I attached a patch which cleans up a lot of the tests by using a common 
function to build a consistent schemed URL (fixes SSL for 
SolrCmdDistributorTest) + disabled the "useClientAuth" property for OSX 
clients. [~elyograg] was kind enough to perform a few test runs 
(BasicDistributedZkTest & BasicDistributedZk2Test) on both windows and linux 
with both SSL params set to true with clean test runs.

> SolrCloud does not work with https
> ----------------------------------
>
>                 Key: SOLR-3854
>                 URL: https://issues.apache.org/jira/browse/SOLR-3854
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Sami Siren
>            Assignee: Mark Miller
>             Fix For: 5.0, 4.7
>
>         Attachments: SOLR-3854.patch, SOLR-3854.patch, SOLR-3854.patch, 
> SOLR-3854.patch, SOLR-3854.patch, SOLR-3854.patch, SOLR-3854.patch, 
> SOLR-3854.patch, SOLR-3854.patch, SOLR-3854.patch, SOLR-3854.patch, 
> SOLR-3854v2.patch, SOLR-3854v3.patch
>
>
> There are a few places in current codebase that assume http is used. This 
> prevents using https when running solr in cloud mode.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to