diff --git a/gerrit-acceptance-tests/tests.defs b/gerrit-acceptance-tests/tests.defs index 176fa38614..7bd2430679 100644 --- a/gerrit-acceptance-tests/tests.defs +++ b/gerrit-acceptance-tests/tests.defs @@ -10,9 +10,12 @@ def acceptance_tests( labels = [], source_under_test = [], vm_args = ['-Xmx256m']): - from os import environ + from os import environ, path if not environ.get('NO_BOUNCYCASTLE'): deps = BOUNCYCASTLE + deps + if path.exists('/dev/urandom'): + vm_args = vm_args + ['-Djava.security.egd=file:/dev/./urandom'] + for j in srcs: java_test( name = j[:-len('.java')],