add message to assertion to aid during test failure
Project: http://git-wip-us.apache.org/repos/asf/qpid-jms/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-jms/commit/47cf6e4c Tree: http://git-wip-us.apache.org/repos/asf/qpid-jms/tree/47cf6e4c Diff: http://git-wip-us.apache.org/repos/asf/qpid-jms/diff/47cf6e4c Branch: refs/heads/master Commit: 47cf6e4c0431a4b0779a2576648281dbcf18690b Parents: 6bcb554 Author: Robert Gemmell <rob...@apache.org> Authored: Thu Oct 16 11:55:06 2014 +0100 Committer: Robert Gemmell <rob...@apache.org> Committed: Thu Oct 16 16:55:32 2014 +0100 ---------------------------------------------------------------------- .../java/org/apache/qpid/jms/failover/FailoverProviderTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/47cf6e4c/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/failover/FailoverProviderTest.java ---------------------------------------------------------------------- diff --git a/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/failover/FailoverProviderTest.java b/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/failover/FailoverProviderTest.java index a458ab7..7e4e5b3 100644 --- a/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/failover/FailoverProviderTest.java +++ b/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/failover/FailoverProviderTest.java @@ -87,6 +87,6 @@ public class FailoverProviderTest extends AmqpTestSupport { provider.connect(); - assertTrue(failed.await(2, TimeUnit.SECONDS)); + assertTrue("Did not trip latch within expected time", failed.await(2, TimeUnit.SECONDS)); } } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org