[jboss-cvs] JBossAS SVN: r103893 - branches/JBPAPP_4_2_0_GA_CP/testsuite/src/main/org/jboss/test/jbossts/ASCrashRecovery01.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Apr 13 06:02:50 EDT 2010
Author: istudens at redhat.com
Date: 2010-04-13 06:02:49 -0400 (Tue, 13 Apr 2010)
New Revision: 103893
Modified:
branches/JBPAPP_4_2_0_GA_CP/testsuite/src/main/org/jboss/test/jbossts/ASCrashRecovery01/TestWithJPA.java
Log:
get back HeuristicMixedException, JBPAPP-4091
Modified: branches/JBPAPP_4_2_0_GA_CP/testsuite/src/main/org/jboss/test/jbossts/ASCrashRecovery01/TestWithJPA.java
===================================================================
--- branches/JBPAPP_4_2_0_GA_CP/testsuite/src/main/org/jboss/test/jbossts/ASCrashRecovery01/TestWithJPA.java 2010-04-13 09:51:08 UTC (rev 103892)
+++ branches/JBPAPP_4_2_0_GA_CP/testsuite/src/main/org/jboss/test/jbossts/ASCrashRecovery01/TestWithJPA.java 2010-04-13 10:02:49 UTC (rev 103893)
@@ -372,7 +372,8 @@
}
catch (RuntimeException re)
{
- if (re.getCause() instanceof javax.transaction.RollbackException)
+ if (re.getCause() instanceof javax.transaction.RollbackException
+ || re.getCause() instanceof javax.transaction.HeuristicMixedException)
{
// try to recover, this failure was expected maybe?!
print("Failure was expected (maybe): " + re.getMessage());
More information about the jboss-cvs-commits
mailing list