mirror of https://github.com/apache/activemq.git
get some more info out of this test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@906457 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b836af84f0
commit
ab6bd79b26
|
@ -178,7 +178,7 @@ public class AMQ2413Test extends CombinationTestSupport implements MessageListen
|
|||
while (count.get() < SEND_COUNT) {
|
||||
if (!receivedMessages.tryAcquire(HANG_THRESHOLD, TimeUnit.SECONDS)) {
|
||||
if (count.get() == SEND_COUNT) break;
|
||||
throw new TimeoutException("Message not received for more than " + HANG_THRESHOLD + " seconds");
|
||||
throw new TimeoutException("@count=" + count.get() + " Message not received for more than " + HANG_THRESHOLD + " seconds");
|
||||
}
|
||||
}
|
||||
} finally {
|
||||
|
|
Loading…
Reference in New Issue