[jboss-cvs] JBoss Messaging SVN: r2144 - branches/Branch_1_0_1_SP/tests/src/org/jboss/test/messaging/jms.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Feb 2 10:34:42 EST 2007


Author: timfox
Date: 2007-02-02 10:34:42 -0500 (Fri, 02 Feb 2007)
New Revision: 2144

Modified:
   branches/Branch_1_0_1_SP/tests/src/org/jboss/test/messaging/jms/XATest.java
Log:
Make sure new xa tests don't run remotely



Modified: branches/Branch_1_0_1_SP/tests/src/org/jboss/test/messaging/jms/XATest.java
===================================================================
--- branches/Branch_1_0_1_SP/tests/src/org/jboss/test/messaging/jms/XATest.java	2007-02-02 15:21:32 UTC (rev 2143)
+++ branches/Branch_1_0_1_SP/tests/src/org/jboss/test/messaging/jms/XATest.java	2007-02-02 15:34:42 UTC (rev 2144)
@@ -133,7 +133,8 @@
    // See http://jira.jboss.com/jira/browse/JBMESSAGING-638
    public void testResourceManagerMemoryLeakOnCommit() throws Exception
    {
-
+      if (ServerManagement.isRemote()) return;
+      
       XAConnection xaConn = null;
       
       try
@@ -197,6 +198,9 @@
    //See http://jira.jboss.com/jira/browse/JBMESSAGING-638
    public void testResourceManagerMemoryLeakOnRollback() throws Exception
    { 
+      if (ServerManagement.isRemote()) return;
+      
+      
       XAConnection xaConn = null;
       
       try
@@ -260,6 +264,9 @@
    //http://jira.jboss.com/jira/browse/JBMESSAGING-721
    public void testConvertFromLocalTx() throws Exception
    {
+      if (ServerManagement.isRemote()) return;
+      
+      
       Connection conn = null;
       
       XAConnection xaConn = null;
@@ -370,6 +377,9 @@
    //http://jira.jboss.com/jira/browse/JBMESSAGING-721
    public void testTransactionIdSetAfterCommit() throws Exception
    {
+      if (ServerManagement.isRemote()) return;
+      
+      
       Connection conn = null;
       
       XAConnection xaConn = null;
@@ -483,6 +493,9 @@
    //http://jira.jboss.com/jira/browse/JBMESSAGING-721
    public void testTransactionIdSetAfterRollback() throws Exception
    {
+      if (ServerManagement.isRemote()) return;
+      
+      
       Connection conn = null;
       
       XAConnection xaConn = null;




More information about the jboss-cvs-commits mailing list