[jboss-cvs] JBossAS SVN: r84089 - in branches/Branch_5_x/testsuite: imports and 1 other directories.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Feb 11 06:52:52 EST 2009
Author: istudens at redhat.com
Date: 2009-02-11 06:52:52 -0500 (Wed, 11 Feb 2009)
New Revision: 84089
Added:
branches/Branch_5_x/testsuite/imports/config/tests-jts.xml
Modified:
branches/Branch_5_x/testsuite/build.xml
branches/Branch_5_x/testsuite/imports/config/configs.xml
branches/Branch_5_x/testsuite/imports/server-config.xml
Log:
JBAS-6492, run of the JCA and TM tests on JTS configuration
Modified: branches/Branch_5_x/testsuite/build.xml
===================================================================
--- branches/Branch_5_x/testsuite/build.xml 2009-02-11 11:38:46 UTC (rev 84088)
+++ branches/Branch_5_x/testsuite/build.xml 2009-02-11 11:52:52 UTC (rev 84089)
@@ -993,6 +993,7 @@
<antcall target="pooled-invoker-tests"/>
<antcall target="tests-clustered-profileservice"/>
<antcall target="tests-web-profile"/>
+ <antcall target="tests-jts" />
<!-- NOTE: Run the classloader leak tests last as they can be
disruptive to the overall run if there are failures. -->
Modified: branches/Branch_5_x/testsuite/imports/config/configs.xml
===================================================================
--- branches/Branch_5_x/testsuite/imports/config/configs.xml 2009-02-11 11:38:46 UTC (rev 84088)
+++ branches/Branch_5_x/testsuite/imports/config/configs.xml 2009-02-11 11:52:52 UTC (rev 84089)
@@ -11,5 +11,6 @@
JBoss Server Configuration -->
<import file="tests-clustering.xml"/>
<import file="tests-bootstrap-dependencies.xml"/>
+<import file="tests-jts.xml"/>
</project>
Added: branches/Branch_5_x/testsuite/imports/config/tests-jts.xml
===================================================================
--- branches/Branch_5_x/testsuite/imports/config/tests-jts.xml (rev 0)
+++ branches/Branch_5_x/testsuite/imports/config/tests-jts.xml 2009-02-11 11:52:52 UTC (rev 84089)
@@ -0,0 +1,65 @@
+<?xml version="1.0"?>
+
+<!--
+ | Targets that run the JCA and TM tests on JTS configuration
+-->
+
+<!-- $Id$ -->
+<project name="main.server.config.jts" xmlns:server="http://jboss.org/ns/test/ant/server">
+
+ <!--
+ | Define the Pattern Sets Here
+ -->
+ <patternset id="jts.includes">
+ <include name="org/jboss/test/jca/**/*TestCase.class"/>
+ <include name="org/jboss/test/tm/**/*TestCase.class"/>
+ <exclude name="org/jboss/test/jca/test/SecurityContextUnitTestCase.class"/>
+ <exclude name="org/jboss/test/jca/test/TxConnectionManagerStressTestCase.class"/>
+ </patternset>
+ <patternset id="jts.security.includes">
+ <include name="org/jboss/test/jca/test/SecurityContextUnitTestCase.class"/>
+ </patternset>
+
+ <!--
+ | Targets
+ -->
+
+ <!-- JBAS-6492 -->
+ <target name="tests-jts"
+ description="Runs the JCA and TM tests on JTS configuration">
+
+ <delete dir="${jboss.dist}/server/jts" />
+ <create-config baseconf="all" newconf="jts">
+ <patternset>
+ <include name="conf/**"/>
+ <include name="deploy/**"/>
+ <include name="deployers/**"/>
+ <include name="lib/**"/>
+ </patternset>
+ </create-config>
+
+ <ant dir="${jboss.dist}/docs/examples/transactions">
+ <property name="jts.server.dir" location="${jboss.dist}/server/jts"/>
+ </ant>
+
+
+ <server:start name="jts"/>
+
+ <run-junit junit.patternset="jts.includes"
+ junit.configuration="jts" />
+
+ <property name="jbosstest.secure" value="true"/>
+ <property name="java.security.auth.login.config"
+ value="${build.resources}/security/auth.conf"/>
+ <propertyset id="jts-security-tests-props">
+ <propertyref prefix="java.security.auth"/>
+ </propertyset>
+ <run-junit junit.patternset="jts.security.includes"
+ junit.syspropertyset="jts-security-tests-props"
+ junit.configuration="jts" />
+
+ <server:stop name="jts"/>
+
+ </target>
+
+</project>
Modified: branches/Branch_5_x/testsuite/imports/server-config.xml
===================================================================
--- branches/Branch_5_x/testsuite/imports/server-config.xml 2009-02-11 11:38:46 UTC (rev 84088)
+++ branches/Branch_5_x/testsuite/imports/server-config.xml 2009-02-11 11:52:52 UTC (rev 84089)
@@ -811,7 +811,17 @@
<sysproperty key="java.endorsed.dirs" value="${jboss.dist}/lib/endorsed" />
<sysproperty key="jgroups.udp.ip_ttl" value="${jbosstest.udp.ip_ttl}" />
</server>
-
+
+ <server name="jts" host="${node0}">
+ <jvmarg value="-Xms128m" />
+ <jvmarg value="-Xmx512m" />
+ <jvmarg value="-XX:MaxPermSize=512m" />
+ <jvmarg value="-XX:+HeapDumpOnOutOfMemoryError" />
+ <sysproperty key="java.net.preferIPv4Stack" value="true" />
+ <sysproperty key="java.endorsed.dirs" value="${jboss.dist}/lib/endorsed" />
+ <sysproperty key="jgroups.udp.ip_ttl" value="${jbosstest.udp.ip_ttl}" />
+ </server>
+
</server:config>
<!-- A macro for printing sleep before going into sleep
More information about the jboss-cvs-commits
mailing list