activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject svn commit: r1365019 - /activemq/trunk/activemq-core/src/test/java/org/apache/activemq/util/Wait.java
Date Tue, 24 Jul 2012 12:54:36 GMT
Author: gtully
Date: Tue Jul 24 12:54:36 2012
New Revision: 1365019

URL: http://svn.apache.org/viewvc?rev=1365019&view=rev
Log:
fix ignored param in waitfor - resolve regression of org.apache.activemq.broker.region.cursors.NegativeQueueTest#testWithDefaultPrefetchOneConsumer

Modified:
    activemq/trunk/activemq-core/src/test/java/org/apache/activemq/util/Wait.java

Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/util/Wait.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/util/Wait.java?rev=1365019&r1=1365018&r2=1365019&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/util/Wait.java (original)
+++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/util/Wait.java Tue Jul
24 12:54:36 2012
@@ -34,7 +34,7 @@ public class Wait {
     }
 
     public static boolean waitFor(final Condition condition, final long duration) throws
Exception {
-        return waitFor(condition, MAX_WAIT_MILLIS, SLEEP_MILLIS);
+        return waitFor(condition, duration, SLEEP_MILLIS);
     }
 
     public static boolean waitFor(final Condition condition, final long duration, final int
sleepMillis) throws Exception {



Mime
View raw message