[jboss-cvs] JBossAS SVN: r64209 - in trunk/testsuite/imports: config and 1 other directory.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Mon Jul 23 22:13:26 EDT 2007
Author: bstansberry at jboss.com
Date: 2007-07-23 22:13:25 -0400 (Mon, 23 Jul 2007)
New Revision: 64209
Added:
trunk/testsuite/imports/config/
trunk/testsuite/imports/config/configs.xml
trunk/testsuite/imports/config/tests-clustering.xml
Log:
[JBAS-4554] Extract clustering stuff from testsuite/build.xml into imports/config/tests-clustering.xml
Added: trunk/testsuite/imports/config/configs.xml
===================================================================
--- trunk/testsuite/imports/config/configs.xml (rev 0)
+++ trunk/testsuite/imports/config/configs.xml 2007-07-24 02:13:25 UTC (rev 64209)
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+
+<!--
+ | Targets that create separate server configurations
+-->
+
+<!-- $Id$ -->
+<project name="main.server.configs" xmlns:server="http://jboss.org/ns/test/ant/server">
+
+<!-- Import all the xml files that define targets that require a separate
+ JBoss Server Configuration -->
+<import file="tests-clustering.xml"/>
+
+</project>
Property changes on: trunk/testsuite/imports/config/configs.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ native
Added: trunk/testsuite/imports/config/tests-clustering.xml
===================================================================
--- trunk/testsuite/imports/config/tests-clustering.xml (rev 0)
+++ trunk/testsuite/imports/config/tests-clustering.xml 2007-07-24 02:13:25 UTC (rev 64209)
@@ -0,0 +1,472 @@
+<?xml version="1.0"?>
+
+<!--
+ | Targets that create separate server configurations
+-->
+
+<!-- $Id$ -->
+<project name="main.server.config.jacc" xmlns:server="http://jboss.org/ns/test/ant/server">
+
+ <!--
+ | Define the Pattern Sets Here
+ -->
+ <patternset id="apache_tomcat.cluster.includes">
+ <include name="org/jboss/test/cluster/apache_tomcat/*TestCase.class"/>
+ </patternset>
+ <patternset id="cluster.defaultcfg.non.http.includes">
+ <include name="org/jboss/test/cluster/defaultcfg/test/*TestCase.class"/>
+ <include name="org/jboss/test/cluster/defaultcfg/ejb2/test/*TestCase.class"/>
+ <include name="org/jboss/test/cluster/multicfg/test/*TestCase.class"/>
+ <include name="org/jboss/test/cluster/multicfg/ejb2/test/*TestCase.class"/>
+ </patternset>
+ <patternset id="cluster.defaultcfg.http.includes">
+ <include name="org/jboss/test/cluster/defaultcfg/web/test/*TestCase.class"/>
+ <include name="org/jboss/test/cluster/multicfg/web/test/*TestCase.class"/>
+ <!-- Problem tests -->
+ <exclude name="org/jboss/test/cluster/multicfg/web/test/*ConcurrentTestCase.class"/>
+ </patternset>
+ <patternset id="cluster.defaultcfg.http.field.includes">
+ <include name="org/jboss/test/cluster/defaultcfg/web/field/test/*TestCase.class"/>
+ <include name="org/jboss/test/cluster/multicfg/web/field/test/*TestCase.class"/>
+ </patternset>
+ <patternset id="cluster.defaultcfg.http.jk.includes">
+ <include name="org/jboss/test/cluster/defaultcfg/web/jk/test/*TestCase.class"/>
+ </patternset>
+ <patternset id="cluster.multicfg.non.http.includes">
+ <include name="org/jboss/test/cluster/multicfg/test/*TestCase.class"/>
+ <include name="org/jboss/test/cluster/multicfg/ejb2/test/*TestCase.class"/>
+ </patternset>
+ <patternset id="cluster.multicfg.http.includes">
+ <include name="org/jboss/test/cluster/multicfg/web/test/*TestCase.class"/>
+ <!-- Problem tests -->
+ <exclude name="org/jboss/test/cluster/multicfg/web/test/*ConcurrentTestCase.class"/>
+ </patternset>
+ <patternset id="cluster.multicfg.http.field.includes">
+ <include name="org/jboss/test/cluster/multicfg/web/field/test/*TestCase.class"/>
+ </patternset>
+ <patternset id="cluster.multicfg.http.jk.includes">
+ <!-- Currently an empty placeholder -->
+ </patternset>
+ <patternset id="cluster.excludes">
+ <exclude name="org/jboss/test/cluster/**/test/*TestCase.class"/>
+ </patternset>
+
+ <!--
+ | Targets
+ -->
+
+ <target name="tests-apache-tomcat-clustering"
+ description="Execute clustering tests requiring an apache load balanced two TC nodes.">
+ <echo message="Will read config info from local.propeties file in testsuite dir"/>
+ <!-- Definition of apache is in imports/server-config.xml -->
+ <apache location="${apache.location}" action-type="start"/>
+ <create-cluster-node conf="node0"/>
+ <server:start name="node0" />
+ <create-cluster-node conf="node1"/>
+ <server:start name="node1"/>
+ <echo message="Nodes have started, waiting for cluster to stablize..."/>
+
+ <!-- Need a custom condition that queries for the node membership == 2 -->
+ <echo message="Going to call target tests-clustering-unit"/>
+
+ <antcall target="tests-clustering-unit">
+ <param name="cluster.includes.refid" value="apache_tomcat.cluster.includes"/>
+ <param name="jboss-junit-configuration" value="Tomcat Clustering"/>
+ </antcall>
+ <server:stop name="node0"/>
+ <server:stop name="node1"/>
+ <apache location="${apache.location}" action-type="stop"/>
+ </target>
+
+ <!--
+ Run the clustering tests with different JGroups stacks (UDP/TCP/TCP_NIO).
+ The full set of tests are run with UDP; with the other stacks tests that
+ are unaffected by the protocol stack are not repeated.
+ -->
+ <target name="tests-clustering-all-stacks"
+ description="Execute clustering tests requiring two nodes.">
+ <!-- Test the default UDP stack. Run all the tests. -->
+ <antcall target="tests-clustering">
+ <param name="jboss-junit-configuration" value="udp"/>
+ </antcall>
+ <!-- Test a TCP stack but with a more limited set of tests.-->
+ <antcall target="tests-clustering-multicfg">
+ <param name="jboss-junit-configuration" value="tcp"/>
+ </antcall>
+ <!-- Test a TCP_NIO stack but with a more limited set of tests..-->
+ <antcall target="tests-clustering-multicfg">
+ <param name="jboss-junit-configuration" value="tcp_nio"/>
+ </antcall>
+ </target>
+
+ <!-- Runs only the multicfg tests -->
+ <target name="tests-clustering-multicfg">
+
+ <!-- If protocol stack wasn't passed in, set to default now -->
+ <property name="jboss-junit-configuration" value="udp"/>
+
+ <antcall target="tests-clustering">
+ <param name="jboss-junit-configuration" value="${jboss-junit-configuration}"/>
+ <param name="cluster.non.http.includes" value="cluster.multicfg.non.http.includes"/>
+ <param name="cluster.http.includes" value="cluster.multicfg.http.includes"/>
+ <param name="cluster.http.field.includes" value="cluster.multicfg.http.field.includes"/>
+ <param name="cluster.http.jk.includes" value="cluster.multicfg.http.jk.includes"/>
+ </antcall>
+
+ </target>
+
+ <!-- Depending on the value of the ${jboss-junit-configuration} variable, uses different JGroups stacks -->
+ <target name="tests-clustering"
+ description="Execute clustering tests requiring two nodes.">
+
+ <!-- If configuration values weren't passed in, set them to defaults now -->
+ <property name="jboss-junit-configuration" value="udp"/>
+ <property name="cluster.non.http.includes" value="cluster.defaultcfg.non.http.includes"/>
+ <property name="cluster.http.includes" value="cluster.defaultcfg.http.includes"/>
+ <property name="cluster.http.field.includes" value="cluster.defaultcfg.http.field.includes"/>
+ <property name="cluster.http.jk.includes" value="cluster.defaultcfg.http.jk.includes"/>
+
+ <antcall target="tests-clustering-configure" inheritRefs="true"/>
+
+ <server:start name="cluster-${jboss-junit-configuration}-0"/>
+ <server:start name="cluster-${jboss-junit-configuration}-1"/>
+
+ <echo message="Going to call target tests-clustering-unit for non-HTTP tests"/>
+
+ <antcall target="tests-clustering-unit">
+ <param name="cluster.includes.refid" value="${cluster.non.http.includes}"/>
+ <param name="jboss-junit-configuration" value="Default-${jboss-junit-configuration}"/>
+ <param name="jbosstest.cluster.node0.config" value="cluster-${jboss-junit-configuration}-0"/>
+ <param name="jbosstest.cluster.node1.config" value="cluster-${jboss-junit-configuration}-1"/>
+ </antcall>
+<!--
+ <echo message="Going to call target tests-clustering-unit for HTTP tests (ASYNC, with BR)"/>
+
+ <antcall target="tests-clustering-unit">
+ <param name="cluster.includes.refid" value="${cluster.http.includes}"/>
+ <param name="jboss-junit-configuration" value="Default-${jboss-junit-configuration}"/>
+ <param name="jbosstest.cluster.node0.config" value="cluster-${jboss-junit-configuration}-0"/>
+ <param name="jbosstest.cluster.node1.config" value="cluster-${jboss-junit-configuration}-1"/>
+ </antcall>
+-->
+ <server:stop name="cluster-${jboss-junit-configuration}-0"/>
+ <server:stop name="cluster-${jboss-junit-configuration}-1"/>
+<!--
+ <sleep seconds="4"/>
+
+ <echo message="Going to call target tests-clustering-unit again for FIELD granularity tests (ASYNC, with BR)"/>
+
+ <antcall target="tests-clustering-field-configure" inheritRefs="true"/>
+
+ <server:start name="cluster-field-${jboss-junit-configuration}-0"/>
+ <server:start name="cluster-field-${jboss-junit-configuration}-1"/>
+
+ <antcall target="tests-clustering-unit">
+ <param name="cluster.includes.refid" value="${cluster.http.field.includes}"/>
+ <param name="jboss-junit-configuration" value="Default-${jboss-junit-configuration}"/>
+ <param name="jbosstest.cluster.node0.config" value="cluster-field-${jboss-junit-configuration}-0"/>
+ <param name="jbosstest.cluster.node1.config" value="cluster-field-${jboss-junit-configuration}-1"/>
+ </antcall>
+
+ <server:stop name="cluster-field-${jboss-junit-configuration}-0"/>
+ <server:stop name="cluster-field-${jboss-junit-configuration}-1"/>
+
+ <sleep seconds="4"/>
+
+ <echo message="Going to call target tests-clustering-unit again with new configuration (SYNC, with BR)"/>
+
+ <antcall target="tests-clustering-sync-configure"/>
+
+ <server:start name="cluster-${jboss-junit-configuration}-SYNC-0"/>
+ <server:start name="cluster-${jboss-junit-configuration}-SYNC-1"/>
+
+ <antcall target="tests-clustering-unit">
+ <param name="cluster.includes.refid" value="${cluster.http.jk.includes}"/>
+ <param name="jboss-junit-configuration" value="SyncModeNUseJvm-${jboss-junit-configuration}"/>
+ <param name="jbosstest.cluster.node0.config" value="cluster-${jboss-junit-configuration}-SYNC-0"/>
+ <param name="jbosstest.cluster.node1.config" value="cluster-${jboss-junit-configuration}-SYNC-1"/>
+ </antcall>
+
+ <antcall target="tests-clustering-unit">
+ <param name="cluster.includes.refid" value="${cluster.http.includes}"/>
+ <param name="jboss-junit-configuration" value="SyncModeNUseJvm-${jboss-junit-configuration}"/>
+ </antcall>
+
+ <server:stop name="cluster-${jboss-junit-configuration}-SYNC-0"/>
+ <server:stop name="cluster-${jboss-junit-configuration}-SYNC-1"/>
+
+ <sleep seconds="4"/>
+
+ <echo message="Going to call target tests-clustering-unit again for FIELD granularity tests with new configuration (SYNC, with BR)"/>
+
+ <antcall target="tests-clustering-field-sync-configure"/>
+
+ <server:start name="cluster-field-${jboss-junit-configuration}-SYNC-0"/>
+ <server:start name="cluster-field-${jboss-junit-configuration}-SYNC-1"/>
+
+ <antcall target="tests-clustering-unit">
+ <param name="cluster.includes.refid" value="${cluster.http.field.includes}"/>
+ <param name="jboss-junit-configuration" value="SyncModeNUseJvm-${jboss-junit-configuration}"/>
+ <param name="jbosstest.cluster.node0.config" value="cluster-field-${jboss-junit-configuration}-SYNC-0"/>
+ <param name="jbosstest.cluster.node1.config" value="cluster-field-${jboss-junit-configuration}-SYNC-1"/>
+ </antcall>
+
+ <server:stop name="cluster-field-${jboss-junit-configuration}-SYNC-0"/>
+ <server:stop name="cluster-field-${jboss-junit-configuration}-SYNC-1"/>
+
+ <sleep seconds="4"/>
+
+ <echo message="Going to call target tests-clustering-unit again with new configuration (SYNC, no BR)"/>
+
+ <antcall target="tests-clustering-total-configure"/>
+
+ <server:start name="cluster-${jboss-junit-configuration}-TOTAL-0"/>
+ <server:start name="cluster-${jboss-junit-configuration}-TOTAL-1"/>
+
+ <antcall target="tests-clustering-unit">
+ <param name="cluster.includes.refid" value="${cluster.http.includes}"/>
+ <param name="jboss-junit-configuration" value="BuddyReplDisabled-${jboss-junit-configuration}"/>
+ <param name="jbosstest.cluster.node0.config" value="cluster-${jboss-junit-configuration}-TOTAL-0"/>
+ <param name="jbosstest.cluster.node1.config" value="cluster-${jboss-junit-configuration}-TOTAL-1"/>
+ </antcall>
+
+ <server:stop name="cluster-${jboss-junit-configuration}-TOTAL-0"/>
+ <server:stop name="cluster-${jboss-junit-configuration}-TOTAL-1"/>
+
+ <sleep seconds="4"/>
+
+ <echo message="Going to call target tests-clustering-unit again for FIELD granularity tests with new configuration (SYNC, no BR)"/>
+
+ <antcall target="tests-clustering-field-total-configure"/>
+
+ <server:start name="cluster-field-${jboss-junit-configuration}-TOTAL-0"/>
+ <server:start name="cluster-field-${jboss-junit-configuration}-TOTAL-1"/>
+
+ <antcall target="tests-clustering-unit">
+ <param name="cluster.includes.refid" value="${cluster.http.field.includes}"/>
+ <param name="jboss-junit-configuration" value="BuddyReplDisabled-${jboss-junit-configuration}"/>
+ <param name="jbosstest.cluster.node0.config" value="cluster-field-${jboss-junit-configuration}-TOTAL-0"/>
+ <param name="jbosstest.cluster.node1.config" value="cluster-field-${jboss-junit-configuration}-TOTAL-1"/>
+ </antcall>
+
+ <server:stop name="cluster-field-${jboss-junit-configuration}-TOTAL-0"/>
+ <server:stop name="cluster-field-${jboss-junit-configuration}-TOTAL-1"/>
+-->
+ </target>
+
+ <target name="tests-clustering-configure" unless="${tests.clustering.skip.startup}">
+ <create-cluster-node conf="cluster-${jboss-junit-configuration}-0"/>
+ <create-cluster-node conf="cluster-${jboss-junit-configuration}-1"/>
+ </target>
+
+ <target name="tests-clustering-field-configure" unless="${tests.clustering.skip.startup}">
+ <create-cluster-node conf="cluster-field-${jboss-junit-configuration}-0"/>
+ <create-cluster-node conf="cluster-field-${jboss-junit-configuration}-1"/>
+
+ <echo message="Modifying the node0 and node1 Tomcat configuration for FIELD"/>
+ <http-cluster-field-node-config-change conf="cluster-field-${jboss-junit-configuration}-0"/>
+ <http-cluster-field-node-config-change conf="cluster-field-${jboss-junit-configuration}-1"/>
+ </target>
+
+ <target name="tests-clustering-sync-configure" unless="${tests.clustering.skip.startup}">
+ <create-cluster-node conf="cluster-${jboss-junit-configuration}-SYNC-0"/>
+ <create-cluster-node conf="cluster-${jboss-junit-configuration}-SYNC-1"/>
+
+ <echo message="Modifying the node0 and node1 Tomcat configuration for REPL_SYNC/UseJK"/>
+ <http-cluster-node-config-change conf="cluster-${jboss-junit-configuration}-SYNC-0" useBuddyRepl="true"/>
+ <http-cluster-node-config-change conf="cluster-${jboss-junit-configuration}-SYNC-1" useBuddyRepl="true"/>
+ </target>
+
+ <target name="tests-clustering-field-sync-configure" unless="${tests.clustering.skip.startup}">
+ <create-cluster-node conf="cluster-field-${jboss-junit-configuration}-SYNC-0"/>
+ <create-cluster-node conf="cluster-field-${jboss-junit-configuration}-SYNC-1"/>
+
+ <echo message="Modifying the node0 and node1 Tomcat configuration for FIELD"/>
+ <http-cluster-field-node-config-change conf="cluster-field-${jboss-junit-configuration}-SYNC-0"/>
+ <http-cluster-field-node-config-change conf="cluster-field-${jboss-junit-configuration}-SYNC-1"/>
+
+ <echo message="Modifying the node0 and node1 Tomcat configuration for REPL_SYNC/UseJK"/>
+ <http-cluster-node-config-change conf="cluster-field-${jboss-junit-configuration}-SYNC-0" useBuddyRepl="true"/>
+ <http-cluster-node-config-change conf="cluster-field-${jboss-junit-configuration}-SYNC-1" useBuddyRepl="true"/>
+ </target>
+
+ <target name="tests-clustering-total-configure" unless="${tests.clustering.skip.startup}">
+ <create-cluster-node conf="cluster-${jboss-junit-configuration}-TOTAL-0"/>
+ <create-cluster-node conf="cluster-${jboss-junit-configuration}-TOTAL-1"/>
+
+ <echo message="Modifying the node0 and node1 Tomcat configuration for REPL_SYNC/UseJK/TOTAL"/>
+ <http-cluster-node-config-change conf="cluster-${jboss-junit-configuration}-TOTAL-0" useBuddyRepl="false"/>
+ <http-cluster-node-config-change conf="cluster-${jboss-junit-configuration}-TOTAL-1" useBuddyRepl="false"/>
+ </target>
+
+ <target name="tests-clustering-field-total-configure" unless="${tests.clustering.skip.startup}">
+ <create-cluster-node conf="cluster-field-${jboss-junit-configuration}-TOTAL-0"/>
+ <create-cluster-node conf="cluster-field-${jboss-junit-configuration}-TOTAL-1"/>
+
+ <echo message="Modifying the node0 and node1 Tomcat configuration for FIELD"/>
+ <http-cluster-field-node-config-change conf="cluster-field-${jboss-junit-configuration}-TOTAL-0"/>
+ <http-cluster-field-node-config-change conf="cluster-field-${jboss-junit-configuration}-TOTAL-1"/>
+
+ <echo message="Modifying the node0 and node1 Tomcat configuration for REPL_SYNC/UseJK/TOTAL"/>
+ <http-cluster-node-config-change conf="cluster-field-${jboss-junit-configuration}-TOTAL-0" useBuddyRepl="false"/>
+ <http-cluster-node-config-change conf="cluster-field-${jboss-junit-configuration}-TOTAL-1" useBuddyRepl="false"/>
+ </target>
+
+ <!-- Executes a set of tests in a clustered environment -->
+ <target name="tests-clustering-unit">
+ <mkdir dir="${build.reports}"/>
+ <mkdir dir="${build.testlog}"/>
+ <junit dir="${module.output}"
+ printsummary="${junit.printsummary}"
+ haltonerror="${junit.haltonerror}"
+ haltonfailure="${junit.haltonfailure}"
+ fork="${junit.fork}"
+ timeout="${junit.timeout}"
+ jvm="${junit.jvm}"
+ failureProperty="tests.failure">
+
+ <sysproperty key="jboss.internal-server.serverroot" value="${jboss.dist}/server"/>
+ <sysproperty key="jbosstest.deploy.dir" file="${build.lib}"/>
+ <sysproperty key="jbosstest.cluster.node0" value="${node0}"/>
+ <sysproperty key="jbosstest.cluster.node0.http.url" value="${node0.http.url}"/>
+ <sysproperty key="jbosstest.cluster.node0.jndi.url" value="${node0.jndi.url}"/>
+ <sysproperty key="jbosstest.cluster.node0.serverroot" value="${jboss.dist}/server/${jbosstest.cluster.node0.config}"/>
+ <sysproperty key="jbosstest.cluster.node1" value="${node1}"/>
+ <sysproperty key="jbosstest.cluster.node1.http.url" value="${node1.http.url}"/>
+ <sysproperty key="jbosstest.cluster.node1.jndi.url" value="${node1.jndi.url}"/>
+ <sysproperty key="jbosstest.cluster.node1.serverroot" value="${jboss.dist}/server/${jbosstest.cluster.node1.config}"/>
+ <sysproperty key="build.testlog" value="${build.testlog}"/>
+ <sysproperty key="log4j.configuration" value="file:${build.resources}/log4j.xml"/>
+ <!-- Pass along any jbosstest.* system properties -->
+ <syspropertyset>
+ <propertyref prefix="jbosstest."/>
+ </syspropertyset>
+
+ <!--Lets pass some parameters from local.properties file as system properties-->
+ <syspropertyset>
+ <propertyref prefix="org.apache."/>
+ </syspropertyset>
+ <syspropertyset>
+ <propertyref prefix="apache"/>
+ </syspropertyset>
+ <syspropertyset>
+ <propertyref prefix="node"/>
+ </syspropertyset>
+
+ <!--jvmarg value="${junit.jvm.options}"/>
+ <jvmarg value="-Xrunjdwp:transport=dt_socket,address=8789,server=y,suspend=y"/>
+ <jvmarg value="-Djava.compiler=NONE"/>
+ <jvmarg value="-Xdebug"/>
+ <jvmarg value="-Xnoagent"/-->
+
+ <classpath>
+ <pathelement location="${build.classes}"/>
+ <pathelement location="${build.resources}"/>
+ <path refid="tests.classpath"/>
+ </classpath>
+
+ <!-- definition of the property for keeping results between configuration -->
+ <sysproperty key="jboss-junit-configuration" value="${jboss-junit-configuration}"/>
+ <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter" usefile="${junit.formatter.usefile}" extension="-${jboss-junit-configuration}.xml" />
+
+ <batchtest todir="${build.reports}"
+ haltonerror="${junit.batchtest.haltonerror}"
+ haltonfailure="${junit.batchtest.haltonfailure}"
+ fork="${junit.batchtest.fork}">
+
+ <fileset dir="${build.classes}">
+ <patternset refid="${cluster.includes.refid}"/>
+ </fileset>
+ </batchtest>
+ </junit>
+ </target>
+
+ <target name="one-cluster-test" if="test">
+
+ <property name="jboss-junit-configuration" value="udp"/>
+
+ <antcall target="tests-clustering-configure" inheritRefs="true"/>
+
+ <server:start name="cluster-${jboss-junit-configuration}-0"/>
+ <server:start name="cluster-${jboss-junit-configuration}-1"/>
+
+ <echo message="Going to call target tests-clustering-unit for ${test}"/>
+
+ <antcall target="tests-clustering-unit">
+ <param name="cluster.includes.refid" value="one.test.includes"/>
+ <param name="jboss-junit-configuration" value="Default-${jboss-junit-configuration}"/>
+ <param name="jbosstest.cluster.node0.config" value="cluster-${jboss-junit-configuration}-0"/>
+ <param name="jbosstest.cluster.node1.config" value="cluster-${jboss-junit-configuration}-1"/>
+ </antcall>
+
+ <server:stop name="cluster-${jboss-junit-configuration}-0"/>
+ <server:stop name="cluster-${jboss-junit-configuration}-1"/>
+ </target>
+
+ <target name="one-cluster-test-field" if="test">
+
+ <property name="jboss-junit-configuration" value="udp"/>
+
+ <antcall target="tests-clustering-field-configure" inheritRefs="true"/>
+
+ <server:start name="cluster-field-${jboss-junit-configuration}-0"/>
+ <server:start name="cluster-field-${jboss-junit-configuration}-1"/>
+
+ <echo message="Going to call target tests-clustering-unit for ${test}"/>
+
+ <antcall target="tests-clustering-unit">
+ <param name="cluster.includes.refid" value="one.test.includes"/>
+ <param name="jboss-junit-configuration" value="Default-${jboss-junit-configuration}"/>
+ <param name="jbosstest.cluster.node0.config" value="cluster-${jboss-junit-configuration}-0"/>
+ <param name="jbosstest.cluster.node1.config" value="cluster-${jboss-junit-configuration}-1"/>
+ </antcall>
+
+ <server:stop name="cluster-field-${jboss-junit-configuration}-0"/>
+ <server:stop name="cluster-field-${jboss-junit-configuration}-1"/>
+ </target>
+
+ <target name="one-cluster-test-total" if="test">
+
+ <property name="jboss-junit-configuration" value="udp"/>
+
+ <antcall target="tests-clustering-total-configure" inheritRefs="true"/>
+
+ <server:start name="cluster-${jboss-junit-configuration}-TOTAL-0"/>
+ <server:start name="cluster-${jboss-junit-configuration}-TOTAL-1"/>
+
+ <echo message="Going to call target tests-clustering-unit for ${test}"/>
+
+ <antcall target="tests-clustering-unit">
+ <param name="cluster.includes.refid" value="one.test.includes"/>
+ <param name="jboss-junit-configuration" value="Default-${jboss-junit-configuration}"/>
+ <param name="jbosstest.cluster.node0.config" value="cluster-${jboss-junit-configuration}-0"/>
+ <param name="jbosstest.cluster.node1.config" value="cluster-${jboss-junit-configuration}-1"/>
+ </antcall>
+
+ <server:stop name="cluster-${jboss-junit-configuration}-TOTAL-0"/>
+ <server:stop name="cluster-${jboss-junit-configuration}-TOTAL-1"/>
+ </target>
+
+ <target name="one-cluster-test-field-total" if="test">
+
+ <property name="jboss-junit-configuration" value="udp"/>
+
+ <antcall target="tests-clustering-field-total-configure" inheritRefs="true"/>
+
+ <server:start name="cluster-field-${jboss-junit-configuration}-TOTAL-0"/>
+ <server:start name="cluster-field-${jboss-junit-configuration}-TOTAL-1"/>
+
+ <echo message="Going to call target tests-clustering-unit for ${test}"/>
+
+ <antcall target="tests-clustering-unit">
+ <param name="cluster.includes.refid" value="one.test.includes"/>
+ <param name="jboss-junit-configuration" value="Default-${jboss-junit-configuration}"/>
+ <param name="jbosstest.cluster.node0.config" value="cluster-${jboss-junit-configuration}-0"/>
+ <param name="jbosstest.cluster.node1.config" value="cluster-${jboss-junit-configuration}-1"/>
+ </antcall>
+
+ <server:stop name="cluster-field-${jboss-junit-configuration}-TOTAL-0"/>
+ <server:stop name="cluster-field-${jboss-junit-configuration}-TOTAL-1"/>
+ </target>
+
+</project>
\ No newline at end of file
Property changes on: trunk/testsuite/imports/config/tests-clustering.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ native
More information about the jboss-cvs-commits
mailing list