fix ignored param in waitfor - resolve regression of org.apache.activemq.broker.region.cursors.NegativeQueueTest#testWithDefaultPrefetchOneConsumer

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1365019 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Tully 2012-07-24 12:54:36 +00:00
parent 0051c4ea6f
commit edf5f64982
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ public class Wait {
} }
public static boolean waitFor(final Condition condition, final long duration) throws Exception { 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 { public static boolean waitFor(final Condition condition, final long duration, final int sleepMillis) throws Exception {