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:
Gary Tully 2010-02-04 11:34:47 +00:00
parent b836af84f0
commit ab6bd79b26
1 changed files with 1 additions and 1 deletions

View File

@ -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 {