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

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Aug 6 14:11:35 EDT 2007


Author: timfox
Date: 2007-08-06 14:11:35 -0400 (Mon, 06 Aug 2007)
New Revision: 2961

Modified:
   trunk/tests/src/org/jboss/test/messaging/jms/clustering/MultiThreadFailoverTest.java
   trunk/tests/src/org/jboss/test/messaging/jms/clustering/RecoverDeliveriesTest.java
Log:
tests speedup


Modified: trunk/tests/src/org/jboss/test/messaging/jms/clustering/MultiThreadFailoverTest.java
===================================================================
--- trunk/tests/src/org/jboss/test/messaging/jms/clustering/MultiThreadFailoverTest.java	2007-08-06 17:30:20 UTC (rev 2960)
+++ trunk/tests/src/org/jboss/test/messaging/jms/clustering/MultiThreadFailoverTest.java	2007-08-06 18:11:35 UTC (rev 2961)
@@ -449,8 +449,7 @@
          conn2.close();
 
          conn3.close();
-         
-         this.removeAllMessages(queue[0].getQueueName(), true, 0);
+
          this.removeAllMessages(queue[1].getQueueName(), true, 1);
          this.removeAllMessages(queue[2].getQueueName(), true, 2);
       }

Modified: trunk/tests/src/org/jboss/test/messaging/jms/clustering/RecoverDeliveriesTest.java
===================================================================
--- trunk/tests/src/org/jboss/test/messaging/jms/clustering/RecoverDeliveriesTest.java	2007-08-06 17:30:20 UTC (rev 2960)
+++ trunk/tests/src/org/jboss/test/messaging/jms/clustering/RecoverDeliveriesTest.java	2007-08-06 18:11:35 UTC (rev 2961)
@@ -188,8 +188,6 @@
       		
       	int failoverNodeId = this.getFailoverNodeForNode(cf, 1);
       	
-      	assertEquals(2, failoverNodeId);
-      	
       	int recoveryMapSize = ServerManagement.getServer(failoverNodeId).getRecoveryMapSize(timeoutQueue.getQueueName());
       	assertEquals(0, recoveryMapSize);
       	Map recoveryArea = ServerManagement.getServer(failoverNodeId).getRecoveryArea(timeoutQueue.getQueueName());




More information about the jboss-cvs-commits mailing list