[jbosscache-commits] JBoss Cache SVN: r4744 - core/branches/1.4.X.

jbosscache-commits at lists.jboss.org jbosscache-commits at lists.jboss.org
Mon Nov 12 09:31:01 EST 2007


Author: manik.surtani at jboss.com
Date: 2007-11-12 09:31:00 -0500 (Mon, 12 Nov 2007)
New Revision: 4744

Modified:
   core/branches/1.4.X/build.xml
Log:
Increased JUnit test max memory

Modified: core/branches/1.4.X/build.xml
===================================================================
--- core/branches/1.4.X/build.xml	2007-11-09 15:03:06 UTC (rev 4743)
+++ core/branches/1.4.X/build.xml	2007-11-12 14:31:00 UTC (rev 4744)
@@ -46,8 +46,8 @@
    <property name="junit.timeout.stresstest" value="6000000"/>
    <property name="junit.timeout.performance" value="60000"/>
    <property name="junit.timeout.compat" value="300000"/>
+   <property name="junit.maxmem" value="1024M"/>
    <property name="junit.batchtest.todir" value="${build.reports}"/>
-   <property name="junit.jvm.options" value="-Ddummy"/>
    <property name="ant.dir" value="${root.dir}/ant-dist"/>
    <property name="manifest.file" value="${dist.lib}/default.mf"/>
    <!-- Test if JDK5 is available -->
@@ -748,7 +748,7 @@
    </target>
 
    <target name="perftests" depends="compile,unittests-init" description="Runs all non-AOP perf tests">
-      <junit printsummary="yes" timeout="${junit.timeout}" fork="yes">
+      <junit printsummary="yes" timeout="${junit.timeout}" fork="yes" maxmemory="${junit.maxmem}">
          <classpath refid="library.classpath"/>
          <classpath refid="output.classpath"/>
          <jvmarg value="-Dbind.address=${bind.address}"/>
@@ -774,7 +774,7 @@
    </target>
 
    <target name="stresstests" depends="compile,unittests-init" description="Runs all non-AOP perf tests">
-      <junit printsummary="yes" timeout="${junit.timeout.stresstest}" fork="yes">
+      <junit printsummary="yes" timeout="${junit.timeout.stresstest}" fork="yes" maxmemory="${junit.maxmem}">
          <classpath refid="library.classpath"/>
          <classpath refid="output.classpath"/>
          <jvmarg value="-Dbind.address=${bind.address}"/>
@@ -874,7 +874,7 @@
                  description="The config file name passed to the cache"/>
       <sequential>
          <echo message="Running tests with a @{name} JBossCache instance with @{conf}"/>
-         <junit printsummary="yes" timeout="${junit.timeout}" fork="yes">
+         <junit printsummary="yes" timeout="${junit.timeout}" fork="yes" maxmemory="${junit.maxmem}">
             <classpath refid="@{classpath}"/>
             <sysproperty key="interop.test.config" value="@{conf}"/>
             <formatter type="xml" usefile="true" extension="-@{desc}.xml"/>
@@ -900,8 +900,7 @@
          <equals arg1="${ant.java.version}" arg2="1.4"/>
       </condition>
 
-      <junit printsummary="yes" timeout="${junit.timeout.compat}" fork="yes"
-             maxmemory="256m">
+      <junit printsummary="yes" timeout="${junit.timeout.compat}" fork="yes" maxmemory="${junit.maxmem}">
          <classpath>
             <pathelement path="${compiletest.dir}"/>
          </classpath>




More information about the jbosscache-commits mailing list