[jboss-cvs] JBoss Messaging SVN: r2460 - trunk/tests/src/org/jboss/test/messaging/core/plugin/postoffice/cluster.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Feb 26 22:27:08 EST 2007


Author: clebert.suconic at jboss.com
Date: 2007-02-26 22:27:08 -0500 (Mon, 26 Feb 2007)
New Revision: 2460

Modified:
   trunk/tests/src/org/jboss/test/messaging/core/plugin/postoffice/cluster/RedistributionWithDefaultMessagePullPolicyTest.java
Log:
Increasing timeout to be bigger than Timeout Statistics avoiding race conditions

Modified: trunk/tests/src/org/jboss/test/messaging/core/plugin/postoffice/cluster/RedistributionWithDefaultMessagePullPolicyTest.java
===================================================================
--- trunk/tests/src/org/jboss/test/messaging/core/plugin/postoffice/cluster/RedistributionWithDefaultMessagePullPolicyTest.java	2007-02-27 03:09:05 UTC (rev 2459)
+++ trunk/tests/src/org/jboss/test/messaging/core/plugin/postoffice/cluster/RedistributionWithDefaultMessagePullPolicyTest.java	2007-02-27 03:27:08 UTC (rev 2460)
@@ -895,7 +895,7 @@
          queue5.deliver();
          receiver5.waitForHandleInvocations(NUM_MESSAGES - 25, 20000);
          
-         Thread.sleep(2000);
+         Thread.sleep(20000);
 
          log.trace("receiver5 msgs:" + receiver5.getMessages().size());
 




More information about the jboss-cvs-commits mailing list