[jboss-cvs] JBossAS SVN: r92063 - in branches/JBPAPP_5_0/testsuite/src: resources/crashrecovery/scripts and 1 other directory.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Aug 6 07:54:35 EDT 2009
Author: istudens at redhat.com
Date: 2009-08-06 07:54:35 -0400 (Thu, 06 Aug 2009)
New Revision: 92063
Modified:
branches/JBPAPP_5_0/testsuite/src/main/org/jboss/test/crashrecovery/ASCrashRecovery01/TestWithJPA.java
branches/JBPAPP_5_0/testsuite/src/resources/crashrecovery/scripts/as-tests.xml
Log:
fixed storeType value for JTS transactions, JBPAPP-2386
Modified: branches/JBPAPP_5_0/testsuite/src/main/org/jboss/test/crashrecovery/ASCrashRecovery01/TestWithJPA.java
===================================================================
--- branches/JBPAPP_5_0/testsuite/src/main/org/jboss/test/crashrecovery/ASCrashRecovery01/TestWithJPA.java 2009-08-06 10:10:16 UTC (rev 92062)
+++ branches/JBPAPP_5_0/testsuite/src/main/org/jboss/test/crashrecovery/ASCrashRecovery01/TestWithJPA.java 2009-08-06 11:54:35 UTC (rev 92063)
@@ -193,7 +193,7 @@
assertTrue("Crash recovery failed.", result);
assertTrue("Incorrect data in database after crash recovery.", dbChanged);
- assertEquals("There are still non-recovered txs in database after crash recovery.", xidsInDoubt.size(), xidsInDoubtAfterTest.size());
+ assertEquals("There are still unrecovered txs in database after crash recovery.", xidsInDoubt.size(), xidsInDoubtAfterTest.size());
}
catch (Exception e)
{
Modified: branches/JBPAPP_5_0/testsuite/src/resources/crashrecovery/scripts/as-tests.xml
===================================================================
--- branches/JBPAPP_5_0/testsuite/src/resources/crashrecovery/scripts/as-tests.xml 2009-08-06 10:10:16 UTC (rev 92062)
+++ branches/JBPAPP_5_0/testsuite/src/resources/crashrecovery/scripts/as-tests.xml 2009-08-06 11:54:35 UTC (rev 92063)
@@ -400,6 +400,11 @@
</condition>
<property name="astest.app.jar.name" value="${astest.jar.name}" />
+ <condition property="storeType" value="StateManager/BasicAction/TwoPhaseCoordinator/ArjunaTransactionImple">
+ <equals arg1="${tstype}" arg2="jts" />
+ </condition>
+ <property name="storeType" value="StateManager/BasicAction/TwoPhaseCoordinator/AtomicAction" />
+
<astest:server method="start" serverName="crashrecovery-${tstype}" >
<deploy from="dbdrivers/${dbdriver}" to="lib/${dbdriver}" />
<deploy from="resources/${datasource}" to="deploy/${datasource}" />
@@ -411,6 +416,7 @@
<param key="serverName" value="crashrecovery-${tstype}" />
<param key="specs" value="${specs}" />
<param key="cmt" value="${cmt}" />
+ <param key="storeType" value="${storeType}" />
<param key="reverseOrder" value="${reverseOrder}" />
<param key="rollbackExpected" value="${rollbackExpected}" />
<param key="wipeOutTxsInDoubtBeforeTest" value="${wipeOutTxsInDoubtBeforeTest}" />
More information about the jboss-cvs-commits
mailing list