[jboss-cvs] JBossAS SVN: r110047 - branches/JBPAPP_4_3_0_GA_CP08_JBPAPP-5432/testsuite/src/main/org/jboss/test/tm/test.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Mon Dec 20 12:26:36 EST 2010
Author: jhowell at redhat.com
Date: 2010-12-20 12:26:36 -0500 (Mon, 20 Dec 2010)
New Revision: 110047
Modified:
branches/JBPAPP_4_3_0_GA_CP08_JBPAPP-5432/testsuite/src/main/org/jboss/test/tm/test/TransactionManagerUnitTestCase.java
Log:
Change the Transaction manager one commit Heuristic test case froma rollback exception to a Heuristic Exception
Modified: branches/JBPAPP_4_3_0_GA_CP08_JBPAPP-5432/testsuite/src/main/org/jboss/test/tm/test/TransactionManagerUnitTestCase.java
===================================================================
--- branches/JBPAPP_4_3_0_GA_CP08_JBPAPP-5432/testsuite/src/main/org/jboss/test/tm/test/TransactionManagerUnitTestCase.java 2010-12-20 16:47:30 UTC (rev 110046)
+++ branches/JBPAPP_4_3_0_GA_CP08_JBPAPP-5432/testsuite/src/main/org/jboss/test/tm/test/TransactionManagerUnitTestCase.java 2010-12-20 17:26:36 UTC (rev 110047)
@@ -22,6 +22,7 @@
package org.jboss.test.tm.test;
import javax.management.ObjectName;
+import javax.transaction.HeuristicRollbackException;
import javax.transaction.RollbackException;
import javax.transaction.Status;
import javax.transaction.xa.XAException;
@@ -548,7 +549,7 @@
new Operation(Operation.ENLIST, 1),
new Operation(Operation.STATE, 1, Resource.ACTIVE),
new Operation(Operation.SETSTATUS, 1, XAException.XA_HEURRB),
- new Operation(Operation.COMMIT, 1, 0,new RollbackException()),
+ new Operation(Operation.COMMIT, 1, 0,new HeuristicRollbackException()),
new Operation(Operation.STATE, 1, Resource.FORGOT),
});
}
More information about the jboss-cvs-commits
mailing list