[jboss-cvs] JBoss Messaging SVN: r5848 - branches/Branch_1_4/tests.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Feb 11 07:56:00 EST 2009


Author: gaohoward
Date: 2009-02-11 07:56:00 -0500 (Wed, 11 Feb 2009)
New Revision: 5848

Modified:
   branches/Branch_1_4/tests/build.xml
Log:
separate BridgeMBeanExtraTest form other bridge tests so it run in a separate VM.


Modified: branches/Branch_1_4/tests/build.xml
===================================================================
--- branches/Branch_1_4/tests/build.xml	2009-02-11 11:22:35 UTC (rev 5847)
+++ branches/Branch_1_4/tests/build.xml	2009-02-11 12:56:00 UTC (rev 5848)
@@ -722,13 +722,45 @@
 				<formatter type="plain" usefile="${junit.formatter.usefile}" />
 
 				<fileset dir="${build.tests.classes}">
-					<include name="**/jms/bridge/**/${test-mask}.class" />
+                                        <include name="**/jms/bridge/**/BridgeMBeanExtraTest.class" />
 				</fileset>
 			</batchtest>
 		</junit>
 
 		<antcall target="stop-rmi-server" />
 
+		<junit printsummary="${junit.printsummary}" fork="on" forkMode="once" includeantruntime="yes" haltonerror="${junit.haltonerror}" haltonfailure="${junit.haltonfailure}" showoutput="${junit.showoutput}" timeout="${bridge.junit.timeout}">
+
+			<sysproperty key="remote" value="true" />
+			<sysproperty key="module.output" value="${tests.output}" />
+			<sysproperty key="test.bind.address" value="${test.bind.address}" />
+			<sysproperty key="jgroups.bind_addr" value="${test.bind.address}" />
+			<sysproperty key="test.database" value="${functional.tests.database}" />
+			<sysproperty key="test.remoting" value="${test.remoting}" />
+			<sysproperty key="test.logfile.suffix" value="remote-client" />
+			<sysproperty key="objectstore.dir" value="${objectstore.dir}" />
+			<jvmarg value="-Xmx512M" />
+			<!--
+         <jvmarg line="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_shmem,server=n,suspend=n,address=antjunit"/>
+         -->
+			<classpath>
+				<path refid="test.execution.classpath" />
+			</classpath>
+
+			<sysproperty key="jboss-junit-configuration" value="Remote-${test.remoting}" />
+			<formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter" usefile="${junit.formatter.usefile}" extension="-Remote-${test.remoting}.xml" />
+
+			<batchtest todir="${junit.batchtest.todir}" haltonfailure="${junit.batchtest.haltonfailure}" haltonerror="${junit.batchtest.haltonerror}">
+				<formatter type="plain" usefile="${junit.formatter.usefile}" />
+
+				<fileset dir="${build.tests.classes}">
+					<include name="**/jms/bridge/**/${test-mask}.class" />
+                                        <exclude name="**/jms/bridge/**/BridgeMBeanExtraTest.class" />
+				</fileset>
+			</batchtest>
+		</junit>
+		<antcall target="stop-rmi-server" />
+
 	</target>
 
 	<target name="memory-leak-tests" depends="tests-jar, prepare-testdirs, clear-test-logs" description="Runs MemoryLeakTests, but it starts the clustering for leak-clustering-tests">




More information about the jboss-cvs-commits mailing list