mirror of https://github.com/apache/activemq.git
Fix some timing issues with test cases
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@628664 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7882eb7968
commit
8250a3c4b2
|
@ -235,7 +235,7 @@ public class ExclusiveConsumerTest extends TestCase {
|
||||||
producer.send(msg);
|
producer.send(msg);
|
||||||
producer.send(msg);
|
producer.send(msg);
|
||||||
|
|
||||||
Assert.assertNotNull(exclusiveConsumer2.receive(100));
|
Assert.assertNotNull(exclusiveConsumer2.receive(1000));
|
||||||
Assert.assertNull(fallbackConsumer.receive(100));
|
Assert.assertNull(fallbackConsumer.receive(100));
|
||||||
|
|
||||||
} finally {
|
} finally {
|
||||||
|
|
Loading…
Reference in New Issue