You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2014/07/08 14:24:05 UTC

[jira] [Commented] (SOLR-5776) Look at speeding up using SSL with tests.

    [ https://issues.apache.org/jira/browse/SOLR-5776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14054882#comment-14054882 ] 

Shalin Shekhar Mangar commented on SOLR-5776:
---------------------------------------------

According to the following StackOverflow discussion, setting System.setProperty("java.security.egd", "file:/dev/./urandom"); (notice the extra dot) seems to fool the JVM and use the SHA generator. My local testing seems to confirm this as well. We should add this in the test base class.

http://stackoverflow.com/questions/137212/how-to-solve-performance-problem-with-java-securerandom

> Look at speeding up using SSL with tests.
> -----------------------------------------
>
>                 Key: SOLR-5776
>                 URL: https://issues.apache.org/jira/browse/SOLR-5776
>             Project: Solr
>          Issue Type: Test
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>             Fix For: 4.9, 5.0
>
>         Attachments: SOLR-5776.patch, SOLR-5776.patch
>
>
> We have to disable SSL on a bunch of tests now because it appears to sometime be ridiculously slow - especially in slow envs (I never see timeouts on my machine).
> I was talking to Robert about this, and he mentioned that there might be some settings we could change to speed it up.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org