Author: borges
Date: 2011-11-23 05:36:50 -0500 (Wed, 23 Nov 2011)
New Revision: 11745
Modified:
branches/Branch_2_2_EAP/build-hornetq.properties
branches/Branch_2_2_EAP/build-hornetq.xml
Log:
Test cases are hanging and not completing. Fork per testcase, fork timeout is 10 min.
Modified: branches/Branch_2_2_EAP/build-hornetq.properties
===================================================================
--- branches/Branch_2_2_EAP/build-hornetq.properties 2011-11-23 05:02:11 UTC (rev 11744)
+++ branches/Branch_2_2_EAP/build-hornetq.properties 2011-11-23 10:36:50 UTC (rev 11745)
@@ -24,8 +24,8 @@
junit.haltonfailure=false
junit.fork=true
junit.includeantruntime=true
-# 120 mins
-junit.timeout=7200000
+# 10 mins - assumes per test case JVM fork
+junit.timeout=600000
# 150 mins
clustering.junit.timeout=9000000
# 90 mins
Modified: branches/Branch_2_2_EAP/build-hornetq.xml
===================================================================
--- branches/Branch_2_2_EAP/build-hornetq.xml 2011-11-23 05:02:11 UTC (rev 11744)
+++ branches/Branch_2_2_EAP/build-hornetq.xml 2011-11-23 10:36:50 UTC (rev 11745)
@@ -1737,7 +1737,7 @@
<mkdir dir="${logs.dir}"/>
<junit printsummary="${junit.printsummary}"
fork="on"
- forkMode="once"
+ forkMode="perTest"
includeantruntime="${junit.includeantruntime}"
haltonerror="${junit.haltonerror}"
haltonfailure="${junit.haltonfailure}"