GitHub user rsafonseca opened a pull request:
https://github.com/apache/cloudstack/pull/330
Change tests random number generator to /dev/urandom
This fixes a big performance issue with random number generation with more
recent kernels and java versions in linux, the impact is specially higher on VMs
Some tests (that use random number generation) in some environments take
randomly 1 - 20 mins to perform tests that should take only seconds to run.
This PR is just intended for fixing it on the tests.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/rsafonseca/cloudstack fast_tests
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cloudstack/pull/330.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #330
----
commit 82847d4405f20920a1ca066765071d485931ff19
Author: Rafael da Fonseca <[email protected]>
Date: 2015-05-29T18:24:41Z
Change tests random number generator to /dev/urandom
This fixes a big performance issue with random number generation with more
recent kernels and java versions in linux
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---