qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgodf...@apache.org
Subject svn commit: r1556283 - /qpid/trunk/qpid/java/bdbstore/systests/src/main/java/org/apache/qpid/server/store/berkeleydb/HAClusterManagementTest.java
Date Tue, 07 Jan 2014 17:21:28 GMT
Author: rgodfrey
Date: Tue Jan  7 17:21:28 2014
New Revision: 1556283

URL: http://svn.apache.org/r1556283
Log:
NO-JIRA : add info to test assert to give clue as to why test failed

Modified:
    qpid/trunk/qpid/java/bdbstore/systests/src/main/java/org/apache/qpid/server/store/berkeleydb/HAClusterManagementTest.java

Modified: qpid/trunk/qpid/java/bdbstore/systests/src/main/java/org/apache/qpid/server/store/berkeleydb/HAClusterManagementTest.java
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/java/bdbstore/systests/src/main/java/org/apache/qpid/server/store/berkeleydb/HAClusterManagementTest.java?rev=1556283&r1=1556282&r2=1556283&view=diff
==============================================================================
--- qpid/trunk/qpid/java/bdbstore/systests/src/main/java/org/apache/qpid/server/store/berkeleydb/HAClusterManagementTest.java
(original)
+++ qpid/trunk/qpid/java/bdbstore/systests/src/main/java/org/apache/qpid/server/store/berkeleydb/HAClusterManagementTest.java
Tue Jan  7 17:21:28 2014
@@ -215,7 +215,10 @@ public class HAClusterManagementTest ext
         catch(RuntimeException rte)
         {
             //check cause was BDBs EnvironmentFailureException
-            assertTrue(rte.getMessage().contains(EnvironmentFailureException.class.getName()));
+            assertTrue("Message '"+rte.getMessage()+"' does not contain '"
+                       + EnvironmentFailureException.class.getName()
+                       + "'.",
+                       rte.getMessage().contains(EnvironmentFailureException.class.getName()));
             // PASS
         }
     }



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


Mime
View raw message