mirror of https://github.com/apache/activemq.git
improve failure reporting in assert
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@774431 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
09bae42a83
commit
2407a7b4ec
|
@ -79,7 +79,7 @@ public class QueueConsumerPriorityTest extends TestCase {
|
|||
Message msg = senderSession.createTextMessage("test");
|
||||
for (int i =0; i< 10000;i++) {
|
||||
producer.send(msg);
|
||||
Assert.assertNotNull(highConsumer.receive(100));
|
||||
Assert.assertNotNull("null on iteration: " + i, highConsumer.receive(100));
|
||||
}
|
||||
Assert.assertNull( lowConsumer.receive(500));
|
||||
|
||||
|
|
Loading…
Reference in New Issue