Author: gtully
Date: Thu Feb 4 11:34:47 2010
New Revision: 906457
URL: http://svn.apache.org/viewvc?rev=906457&view=rev
Log:
get some more info out of this test
Modified:
activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/AMQ2413Test.java
Modified:
activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/AMQ2413Test.java
URL:
http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/AMQ2413Test.java?rev=906457&r1=906456&r2=906457&view=diff
==============================================================================
---
activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/AMQ2413Test.java
(original)
+++
activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/AMQ2413Test.java
Thu Feb 4 11:34:47 2010
@@ -178,7 +178,7 @@
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 {