[jboss-cvs] JBossAS SVN: r107842 - branches/infinispan-int/testsuite/src/main/org/jboss/test/cluster/defaultcfg/test.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Fri Aug 27 09:11:18 EDT 2010
Author: smarlow at redhat.com
Date: 2010-08-27 09:11:18 -0400 (Fri, 27 Aug 2010)
New Revision: 107842
Modified:
branches/infinispan-int/testsuite/src/main/org/jboss/test/cluster/defaultcfg/test/ClusterPartitionManagedObjectsTestCase.java
Log:
better failure message
Modified: branches/infinispan-int/testsuite/src/main/org/jboss/test/cluster/defaultcfg/test/ClusterPartitionManagedObjectsTestCase.java
===================================================================
--- branches/infinispan-int/testsuite/src/main/org/jboss/test/cluster/defaultcfg/test/ClusterPartitionManagedObjectsTestCase.java 2010-08-27 10:52:40 UTC (rev 107841)
+++ branches/infinispan-int/testsuite/src/main/org/jboss/test/cluster/defaultcfg/test/ClusterPartitionManagedObjectsTestCase.java 2010-08-27 13:11:18 UTC (rev 107842)
@@ -246,7 +246,7 @@
prop = mc.getProperty("cacheConfigName");
assertNotNull("HAPartition has property cacheConfigName", prop);
metaVal = prop.getValue();
- assertTrue(metaVal instanceof SimpleValue);
+ assertTrue("cacheConfigName value (" + metaVal +") is instanceof SimpleValue", metaVal instanceof SimpleValue);
val = ((SimpleValue) metaVal).getValue();
assertNotNull(val);
assertTrue(val instanceof String);
More information about the jboss-cvs-commits
mailing list