[jboss-cvs] JBossAS SVN: r106273 - branches/JBPAPP_5_1/testsuite/src/main/org/jboss/test/deployers/test.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Jun 25 06:09:45 EDT 2010


Author: emuckenhuber
Date: 2010-06-25 06:09:45 -0400 (Fri, 25 Jun 2010)
New Revision: 106273

Modified:
   branches/JBPAPP_5_1/testsuite/src/main/org/jboss/test/deployers/test/DeploymentManagerUnitTestCase.java
Log:
check complete and started.

Modified: branches/JBPAPP_5_1/testsuite/src/main/org/jboss/test/deployers/test/DeploymentManagerUnitTestCase.java
===================================================================
--- branches/JBPAPP_5_1/testsuite/src/main/org/jboss/test/deployers/test/DeploymentManagerUnitTestCase.java	2010-06-25 10:05:50 UTC (rev 106272)
+++ branches/JBPAPP_5_1/testsuite/src/main/org/jboss/test/deployers/test/DeploymentManagerUnitTestCase.java	2010-06-25 10:09:45 UTC (rev 106273)
@@ -179,8 +179,10 @@
       try
       {
          // Test exploded
-         distributeAndStart(NESTED_DEPLOYMENT, deploymentName,
+         DeploymentProgress start = distributeAndStart(NESTED_DEPLOYMENT, deploymentName,
                new DeploymentOption[] { DeploymentOption.Explode});
+         assertComplete(start);
+         assertDeploymentState(start.getDeploymentID(), DeploymentState.STARTED);
 
          // Test fail if exists
          DeploymentProgress override = getDeploymentManager().distribute(deploymentName,



More information about the jboss-cvs-commits mailing list