[Jboss-cvs] JBossAS SVN: r55973 - trunk/testsuite/src/main/org/jboss/test/cluster/jmx/test

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Aug 15 15:43:45 EDT 2006


Author: bstansberry at jboss.com
Date: 2006-08-15 15:43:44 -0400 (Tue, 15 Aug 2006)
New Revision: 55973

Modified:
   trunk/testsuite/src/main/org/jboss/test/cluster/jmx/test/HAInvokerUnitTestCase.java
Log:
Catch a known failure and record the JIRA # with the failure message

Modified: trunk/testsuite/src/main/org/jboss/test/cluster/jmx/test/HAInvokerUnitTestCase.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/cluster/jmx/test/HAInvokerUnitTestCase.java	2006-08-15 18:49:20 UTC (rev 55972)
+++ trunk/testsuite/src/main/org/jboss/test/cluster/jmx/test/HAInvokerUnitTestCase.java	2006-08-15 19:43:44 UTC (rev 55973)
@@ -21,6 +21,7 @@
   */
 package org.jboss.test.cluster.jmx.test;
 
+import org.jboss.invocation.ServiceUnavailableException;
 import org.jboss.jmx.adaptor.rmi.RMIAdaptor;
 import org.jboss.test.JBossClusteredTestCase;
 import org.jboss.test.jmx.ha.HAServiceRemote;
@@ -66,7 +67,14 @@
       reconfigureCluster();
       
       // Check it still works
-      assertEquals("Hello", remote.hello());
+      try
+      {
+         assertEquals("Hello", remote.hello());
+      }
+      catch (ServiceUnavailableException sue)
+      {
+         fail("Known issue JBAS-3194: " + sue.getMessage());
+      }
    }   
    
    protected void setUp() throws Exception




More information about the jboss-cvs-commits mailing list