[jboss-cvs] JBossAS SVN: r57140 - branches/Branch_4_0/testsuite/src/main/org/jboss/test/jca/adapter

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Sep 25 12:52:13 EDT 2006


Author: weston.price at jboss.com
Date: 2006-09-25 12:52:13 -0400 (Mon, 25 Sep 2006)
New Revision: 57140

Modified:
   branches/Branch_4_0/testsuite/src/main/org/jboss/test/jca/adapter/TestManagedConnection.java
Log:
[JBAS-3693] Added failInEnd behavior to test adapter also broadcast error. 

Modified: branches/Branch_4_0/testsuite/src/main/org/jboss/test/jca/adapter/TestManagedConnection.java
===================================================================
--- branches/Branch_4_0/testsuite/src/main/org/jboss/test/jca/adapter/TestManagedConnection.java	2006-09-25 16:21:48 UTC (rev 57139)
+++ branches/Branch_4_0/testsuite/src/main/org/jboss/test/jca/adapter/TestManagedConnection.java	2006-09-25 16:52:13 UTC (rev 57140)
@@ -254,7 +254,9 @@
    {
       if(failInEnd)
       {
-         throw new XAException(xaCode);
+         XAException xaex = new XAException(xaCode + "for" + this);
+         broadcastConnectionError(xaex);
+         throw new XAException(xaCode + "for" + this);
       }
 
       long sleepInEnd = mcf.getSleepInEnd();




More information about the jboss-cvs-commits mailing list