Use /dev/urandom for tests.

This commit is contained in:
akwizgran
2018-08-20 11:49:17 +01:00
parent e5112ae9ee
commit 9fbf740ba7
8 changed files with 33 additions and 3 deletions

View File

@@ -31,3 +31,8 @@ task jarTest(type: Jar, dependsOn: testClasses) {
artifacts {
testOutput jarTest
}
tasks.withType(Test) {
// Use entropy-gathering device specified on command line, if any
systemProperty 'java.security.egd', System.getProperty('java.security.egd')
}