Permalink
Browse files

HornetQ object store testing option added to qa tests

  • Loading branch information...
1 parent f3a984f commit 183107b4ca1f40f95bb2e3e64f1e3d2112ed134d @ochaloup ochaloup committed Mar 26, 2013
Showing with 85 additions and 2 deletions.
  1. +7 −2 qa/TaskImpl.properties
  2. +5 −0 qa/build.xml
  3. +67 −0 qa/pom.xml
  4. +6 −0 qa/run-tests.xml
@@ -45,8 +45,7 @@ COMMAND_LINE_2=\
${path.separator}dbdrivers${file.separator}mysql-connector-java-5.1.8-bin.jar\
${path.separator}dbdrivers${file.separator}oracle_10_2_0_4${file.separator}ojdbc14.jar\
${path.separator}dbdrivers${file.separator}postgresql-8.3-605.jdbc4.jar\
- ${path.separator}..${file.separator}build${file.separator}extlib${file.separator}emma.jar\
- ${path.separator}..${file.separator}build${file.separator}extlib${file.separator}netty.jar
+ ${path.separator}ext${file.separator}netty.jar
#
# properties used by the tests or test framework:
@@ -86,6 +85,12 @@ COMMAND_LINE_14=-DCoordinatorEnvironmentBean.dynamic1PC=false
#COMMAND_LINE_(NEWMAX+1)=-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5006
#
+# for tests run with profile hornetq enable this when you want to use AIO
+# put here path to directory where libHornetQAIO.so resides
+#COMMAND_LINE_(NEXTMAX+1)=-Djava.library.path=/path/to/dir/
+#
+
+#
# task arg properties substitutions - you probably don't need to mess with these.
# Read TaskImpl to understand how they work if you do.
ORBFLAGS_1=
View
@@ -78,6 +78,11 @@
<mkdir dir="${driver.home}/jConnect-6_0/classes"/>
<get src="${driver.url}/jConnect-6_0/classes/jconn3.jar" dest="${driver.home}/jConnect-6_0/classes/jconn3.jar"/>
</target>
+ <target name="get.maven.libs">
+ <exec executable="mvn" failonerror="true" dir="${basedir}">
+ <arg value="dependency:copy-dependencies"/>
+ </exec>
+ </target>
<target name="buildtype">
<available file="${org.jboss.jbossts.qa.ts.home}/narayana-full-${narayana.version}/lib/jbossjts.jar" property="buildtype" value="jts"/>
<available file="${org.jboss.jbossts.qa.ts.home}/narayana-full-${narayana.version}/lib/narayana-jta.jar" property="buildtype" value="jta"/>
View
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- JBoss, Home of Professional Open Source Copyright 2008, Red Hat Middleware LLC, and others contributors as indicated by the @authors tag. All rights reserved. See the copyright.txt in the distribution
+ for a full listing of individual contributors. This copyrighted material is made available to anyone wishing to use, modify, copy, or redistribute it subject to the terms and conditions of the GNU Lesser
+ General Public License, v. 2.1. This program is distributed in the hope that it will be useful, but WITHOUT A WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License, v.2.1 along with this distribution; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <parent>
+ <groupId>org.jboss.narayana</groupId>
+ <artifactId>narayana-all</artifactId>
+ <version>5.0.0.M3-SNAPSHOT</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.jboss.jbossts</groupId>
+ <artifactId>jbossts-build</artifactId>
+ <packaging>jar</packaging>
+ <version>unknown</version>
+ <name>JBossTS jbossts-build</name>
+
+
+ <repositories>
+ <repository>
+ <id>jboss-public-repository-group</id>
+ <name>JBoss Public Maven Repository Group</name>
+ <url>https://repository.jboss.org/nexus/content/groups/public/</url>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </repository>
+ </repositories>
+
+ <build>
+ <plugins>
+ <plugin>
+ <!-- run as: mvn dependency:copy-dependencies (narayana project had to be built) -->
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+
+ <configuration>
+ <outputDirectory>./ext</outputDirectory>
+ <overWriteReleases>false</overWriteReleases>
+ <overWriteSnapshots>false</overWriteSnapshots>
+ <overWriteIfNewer>true</overWriteIfNewer>
+ <excludeTransitive>true</excludeTransitive>
+ <stripVersion>true</stripVersion>
+ </configuration>
+
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+
+ <dependency>
+ <groupId>org.jboss.netty</groupId>
+ <artifactId>netty</artifactId>
+ </dependency>
+
+ </dependencies>
+
+</project>
View
@@ -395,6 +395,12 @@
<var name="objectStoreElements" value="-DObjectStoreEnvironmentBean.objectStoreType=com.arjuna.ats.internal.arjuna.objectstore.jdbc.JDBCStore -DObjectStoreEnvironmentBean.jdbcAccess=com.arjuna.ats.internal.arjuna.objectstore.jdbc.accessors.DynamicDataSourceJDBCAccess;ClassName=com.microsoft.sqlserver.jdbc.SQLServerDataSource;DatabaseName=jbossts;ServerName=dev30.mw.lab.eng.bos.redhat.com;PortNumber=3918;User=dtf11;Password=dtf11 -DObjectStoreEnvironmentBean.tablePrefix=Action -DObjectStoreEnvironmentBean.stateStore.objectStoreType=com.arjuna.ats.internal.arjuna.objectstore.jdbc.JDBCStore -DObjectStoreEnvironmentBean.stateStore.jdbcAccess=com.arjuna.ats.internal.arjuna.objectstore.jdbc.accessors.DynamicDataSourceJDBCAccess;ClassName=com.microsoft.sqlserver.jdbc.SQLServerDataSource;DatabaseName=jbossts;ServerName=dev30.mw.lab.eng.bos.redhat.com;PortNumber=3918;User=dtf11;Password=dtf11 -DObjectStoreEnvironmentBean.stateStore.tablePrefix=stateStore -DObjectStoreEnvironmentBean.communicationStore.objectStoreType=com.arjuna.ats.internal.arjuna.objectstore.jdbc.JDBCStore -DObjectStoreEnvironmentBean.communicationStore.jdbcAccess=com.arjuna.ats.internal.arjuna.objectstore.jdbc.accessors.DynamicDataSourceJDBCAccess;ClassName=com.microsoft.sqlserver.jdbc.SQLServerDataSource;DatabaseName=jbossts;ServerName=dev30.mw.lab.eng.bos.redhat.com;PortNumber=3918;User=dtf11;Password=dtf11 -DObjectStoreEnvironmentBean.communicationStore.tablePrefix=Communication"/>
</then>
</elseif>
+ <elseif>
+ <equals arg1="${profile}" arg2="hornetq" />
+ <then>
+ <var name="objectStoreElements" value="org.jboss.jbossts.qa.junit.ExecutionWrapper"/>
+ </then>
+ </elseif>
</if>
<!-- TODO support JTA mode testing of JTS .jar files? -

0 comments on commit 183107b

Please sign in to comment.