mirror of
https://github.com/apache/activemq.git
synced 2025-02-27 12:55:32 +00:00
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:
parent
0051c4ea6f
commit
edf5f64982
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user