[jboss-cvs] JBossAS SVN: r90437 - in branches/Branch_5_x: testsuite/src/main/org/jboss/test/profileservice/test and 1 other directory.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Jun 18 12:29:34 EDT 2009
Author: emuckenhuber
Date: 2009-06-18 12:29:34 -0400 (Thu, 18 Jun 2009)
New Revision: 90437
Modified:
branches/Branch_5_x/system-jmx/src/main/org/jboss/system/microcontainer/LifecycleInfo.java
branches/Branch_5_x/testsuite/src/main/org/jboss/test/profileservice/test/JmsDestinationUnitTestCase.java
Log:
[JBAS-6960] fix the real problem and revert the testcase.
Modified: branches/Branch_5_x/system-jmx/src/main/org/jboss/system/microcontainer/LifecycleInfo.java
===================================================================
--- branches/Branch_5_x/system-jmx/src/main/org/jboss/system/microcontainer/LifecycleInfo.java 2009-06-18 16:02:21 UTC (rev 90436)
+++ branches/Branch_5_x/system-jmx/src/main/org/jboss/system/microcontainer/LifecycleInfo.java 2009-06-18 16:29:34 UTC (rev 90437)
@@ -23,6 +23,7 @@
import java.util.HashMap;
import java.util.Map;
+
import javax.management.MBeanInfo;
import javax.management.MBeanOperationInfo;
import javax.management.MBeanServer;
@@ -57,7 +58,7 @@
// build possible lifecycle ops
lifecycleOps = new HashMap<String, StateInfo>();
lifecycleOps.put("create", new StateInfo(false, true, ControllerState.CREATE));
- lifecycleOps.put("start", new StateInfo(false, true, ControllerState.START));
+ lifecycleOps.put("start", new StateInfo(false, true, ControllerState.INSTALLED));
lifecycleOps.put("stop", new StateInfo(false, false, ControllerState.CREATE));
lifecycleOps.put("destroy", new StateInfo(false, false, ControllerState.CONFIGURED));
Modified: branches/Branch_5_x/testsuite/src/main/org/jboss/test/profileservice/test/JmsDestinationUnitTestCase.java
===================================================================
--- branches/Branch_5_x/testsuite/src/main/org/jboss/test/profileservice/test/JmsDestinationUnitTestCase.java 2009-06-18 16:02:21 UTC (rev 90436)
+++ branches/Branch_5_x/testsuite/src/main/org/jboss/test/profileservice/test/JmsDestinationUnitTestCase.java 2009-06-18 16:29:34 UTC (rev 90437)
@@ -279,7 +279,7 @@
o = getOperation(component, "start", new String[0]);
o.invoke(new MetaValue[0]);
//
- assertEquals(RunState.STOPPED, component.getRunState());
+ assertEquals(RunState.RUNNING, component.getRunState());
}
public void testMultipleQueues() throws Exception
More information about the jboss-cvs-commits
mailing list