Try a workaround against TC7 tests running too slow on Gump:
authorkkolinko <kkolinko@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 4 Apr 2011 03:06:39 +0000 (03:06 +0000)
committerkkolinko <kkolinko@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 4 Apr 2011 03:06:39 +0000 (03:06 +0000)
a workaround against Oracle JVM bug 6202721

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1088467 13f79535-47bb-0310-9956-ffa450edef68

build.properties.default
build.xml

index 85b474d..e23e02a 100644 (file)
@@ -40,6 +40,9 @@ execute.test.nio=true
 execute.test.apr=true
 test.haltonfailure=false
 
+# Workaround against http://bugs.sun.com/view_bug.do?bug_id=6202721
+test.jvmarg.egd=-Djava.security.egd=file:/dev/./urandom
+
 # ----- Default Base Path for Dependent Packages -----
 # Please note this path must be absolute, not relative,
 # as it is referenced with different working directory
index 22d26d8..839ce3e 100644 (file)
--- a/build.xml
+++ b/build.xml
     <sequential>
       <junit printsummary="yes" fork="yes" dir="." showoutput="yes">
 
+        <jvmarg value="${test.jvmarg.egd}"/>
         <jvmarg value="-Djava.library.path=${test.apr.loc}"/>
         <jvmarg value="${test.formatter}"/>