qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rob...@apache.org
Subject [2/3] qpid-jms git commit: add assertion text to aid analysis of failures
Date Thu, 04 Dec 2014 17:34:27 GMT
add assertion text to aid analysis of failures


Project: http://git-wip-us.apache.org/repos/asf/qpid-jms/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-jms/commit/80d95960
Tree: http://git-wip-us.apache.org/repos/asf/qpid-jms/tree/80d95960
Diff: http://git-wip-us.apache.org/repos/asf/qpid-jms/diff/80d95960

Branch: refs/heads/master
Commit: 80d95960cff3082fd19124c49880e48de248d6a1
Parents: 1482961
Author: Robert Gemmell <robbie@apache.org>
Authored: Thu Dec 4 12:19:21 2014 +0000
Committer: Robert Gemmell <robbie@apache.org>
Committed: Thu Dec 4 17:34:07 2014 +0000

----------------------------------------------------------------------
 .../apache/qpid/jms/transactions/JmsTransactedConsumerTest.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/80d95960/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/transactions/JmsTransactedConsumerTest.java
----------------------------------------------------------------------
diff --git a/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/transactions/JmsTransactedConsumerTest.java
b/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/transactions/JmsTransactedConsumerTest.java
index 1db4007..d29ba1f 100644
--- a/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/transactions/JmsTransactedConsumerTest.java
+++ b/qpid-jms-interop-tests/qpid-jms-activemq-tests/src/test/java/org/apache/qpid/jms/transactions/JmsTransactedConsumerTest.java
@@ -202,7 +202,7 @@ public class JmsTransactedConsumerTest extends AmqpTestSupport {
         List<Integer> messageNumbers = new ArrayList<Integer>();
         for(int i = 1; i <= totalCount; i++) {
             Message message = consumer.receive(1000);
-            assertNotNull(message);
+            assertNotNull("Failed to receive message: " + i, message);
             int msgNum = message.getIntProperty(QpidJmsTestSupport.MESSAGE_NUMBER);
             messageNumbers.add(msgNum);
         }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message