[jboss-cvs] JBoss Messaging SVN: r5097 - trunk/tests/src/org/jboss/messaging/tests/stress/paging.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Oct 9 15:03:06 EDT 2008


Author: clebert.suconic at jboss.com
Date: 2008-10-09 15:03:06 -0400 (Thu, 09 Oct 2008)
New Revision: 5097

Modified:
   trunk/tests/src/org/jboss/messaging/tests/stress/paging/MultipleDestinationPagingTest.java
Log:
Fix on test

Modified: trunk/tests/src/org/jboss/messaging/tests/stress/paging/MultipleDestinationPagingTest.java
===================================================================
--- trunk/tests/src/org/jboss/messaging/tests/stress/paging/MultipleDestinationPagingTest.java	2008-10-09 15:27:10 UTC (rev 5096)
+++ trunk/tests/src/org/jboss/messaging/tests/stress/paging/MultipleDestinationPagingTest.java	2008-10-09 19:03:06 UTC (rev 5097)
@@ -160,9 +160,9 @@
       do
       {
          msg = consumer.receive(1000);
-         msg.processed();
          if (msg != null)
          {
+            msg.processed();
             if (++msgs % 10000 == 0)
             {
                System.out.println("received " + msgs);




More information about the jboss-cvs-commits mailing list