[jboss-cvs] JBoss Messaging SVN: r2917 - trunk/tests/src/org/jboss/test/messaging/jms.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Jul 19 19:03:02 EDT 2007


Author: timfox
Date: 2007-07-19 19:03:01 -0400 (Thu, 19 Jul 2007)
New Revision: 2917

Modified:
   trunk/tests/src/org/jboss/test/messaging/jms/LongRunningInvocationTest.java
Log:
fix poison


Modified: trunk/tests/src/org/jboss/test/messaging/jms/LongRunningInvocationTest.java
===================================================================
--- trunk/tests/src/org/jboss/test/messaging/jms/LongRunningInvocationTest.java	2007-07-19 21:57:04 UTC (rev 2916)
+++ trunk/tests/src/org/jboss/test/messaging/jms/LongRunningInvocationTest.java	2007-07-19 23:03:01 UTC (rev 2917)
@@ -89,8 +89,6 @@
       
       ic.close();
 
-      ServerManagement.kill(0);
-
       super.tearDown();
    }
    
@@ -133,9 +131,9 @@
       }
       finally
       {
-      	ServerManagement.poisonTheServer(0, PoisonInterceptor.NULL);
-      	
          conn.close();
+         
+         ServerManagement.kill(0);
       }
 
    }
@@ -176,9 +174,9 @@
       }
       finally
       {
-      	ServerManagement.poisonTheServer(0, PoisonInterceptor.NULL);
-      	
          conn.close();
+         
+         ServerManagement.kill(0);
       }
 
    }




More information about the jboss-cvs-commits mailing list