[
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: [email protected]
For additional commands, e-mail: [email protected]