[jboss-cvs] JBossAS SVN: r60401 - branches/Branch_4_2/testsuite/src/main/org/jboss/test/jca/test.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Feb 7 15:27:30 EST 2007
Author: weston.price at jboss.com
Date: 2007-02-07 15:27:30 -0500 (Wed, 07 Feb 2007)
New Revision: 60401
Modified:
branches/Branch_4_2/testsuite/src/main/org/jboss/test/jca/test/XAExceptionUnitTestCase.java
Log:
[JBAS-3611] Handle IllegalStateException when thrown from JBossTS on
receiving an XAException during 2PC protocol. Fix unit tests to accomodate
exception thrown on Rollback on interleaved XAResource.
Modified: branches/Branch_4_2/testsuite/src/main/org/jboss/test/jca/test/XAExceptionUnitTestCase.java
===================================================================
--- branches/Branch_4_2/testsuite/src/main/org/jboss/test/jca/test/XAExceptionUnitTestCase.java 2007-02-07 20:14:32 UTC (rev 60400)
+++ branches/Branch_4_2/testsuite/src/main/org/jboss/test/jca/test/XAExceptionUnitTestCase.java 2007-02-07 20:27:30 UTC (rev 60401)
@@ -191,6 +191,10 @@
try
{
x.simulateFactoryError("matchManagedConnectionResource", 10);
+
+ }catch(Exception expected)
+ {
+
}
finally
{
@@ -205,6 +209,10 @@
try
{
x.simulateFactoryError("matchManagedConnectionRuntime", 10);
+
+ }catch(Exception expected)
+ {
+
}
finally
{
More information about the jboss-cvs-commits
mailing list