[jboss-cvs] JBoss Messaging SVN: r7268 - trunk/tests/src/org/jboss/messaging/tests/integration/scheduling.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Jun 9 04:27:42 EDT 2009


Author: timfox
Date: 2009-06-09 04:27:42 -0400 (Tue, 09 Jun 2009)
New Revision: 7268

Modified:
   trunk/tests/src/org/jboss/messaging/tests/integration/scheduling/ScheduledMessageTest.java
Log:
tweak to scheduled test

Modified: trunk/tests/src/org/jboss/messaging/tests/integration/scheduling/ScheduledMessageTest.java
===================================================================
--- trunk/tests/src/org/jboss/messaging/tests/integration/scheduling/ScheduledMessageTest.java	2009-06-08 19:13:01 UTC (rev 7267)
+++ trunk/tests/src/org/jboss/messaging/tests/integration/scheduling/ScheduledMessageTest.java	2009-06-09 08:27:42 UTC (rev 7268)
@@ -629,6 +629,8 @@
 
    private void scheduledDelivery(boolean tx) throws Exception
    {
+      forceGC();
+
       Xid xid = new XidImpl("xa1".getBytes(), 1, UUIDGenerator.getInstance().generateStringUUID().getBytes());
 
       ClientSessionFactory sessionFactory = createInVMFactory();
@@ -697,7 +699,6 @@
       }
 
       //First the non scheduled messages should be received
-      forceGC();
 
       if (tx)
       {




More information about the jboss-cvs-commits mailing list