[infinispan-commits] Infinispan SVN: r1285 - trunk/core/src/test/java/org/infinispan/jmx.
infinispan-commits at lists.jboss.org
infinispan-commits at lists.jboss.org
Fri Dec 11 05:25:41 EST 2009
Author: galder.zamarreno at jboss.com
Date: 2009-12-11 05:25:40 -0500 (Fri, 11 Dec 2009)
New Revision: 1285
Modified:
trunk/core/src/test/java/org/infinispan/jmx/RpcManagerMBeanTest.java
Log:
Added a workaround note on odd assertion enable issue in Eclipse.
Modified: trunk/core/src/test/java/org/infinispan/jmx/RpcManagerMBeanTest.java
===================================================================
--- trunk/core/src/test/java/org/infinispan/jmx/RpcManagerMBeanTest.java 2009-12-10 17:34:39 UTC (rev 1284)
+++ trunk/core/src/test/java/org/infinispan/jmx/RpcManagerMBeanTest.java 2009-12-11 10:25:40 UTC (rev 1285)
@@ -29,6 +29,13 @@
* Need to show this to Max either in the office or via a screencast to see how
* to debug it.
*
+ * More information: Seems to be a problem with enabling java assertion. If no -ea is
+ * passed, the command line does show '-ea' but no assertions are checked. If -ear is
+ * explicitly passed, you see '-ea -ea' in the command line and then assertions are
+ * enabled.
+ *
+ * A workaround in Eclipse is to add -ea to the default VM parameters used.
+ *
* @author Mircea.Markus at jboss.com
*/
@Test(groups = "functional", testName = "jmx.RpcManagerMBeanTest")
More information about the infinispan-commits
mailing list