[jboss-dev-forums] [Design of POJO Server] - Re: Redeploying after an error JBAS-4900

adrian@jboss.org do-not-reply at jboss.com
Thu Oct 25 09:37:12 EDT 2007


"adrian at jboss.org" wrote : 
  | 
  |   | [ejort at warjort deployer]$ svn diff
  |   | Index: test/HeuristicAllOrNothingUnitTestCase.java
  |   | ===================================================================
  |   | --- test/HeuristicAllOrNothingUnitTestCase.java (revision 66174)
  |   | +++ test/HeuristicAllOrNothingUnitTestCase.java (working copy)
  |   | @@ -154,6 +154,9 @@
  |   |        assertEquals(expectedNothing, deployer2.getDeployedUnits());
  |   |        assertEquals(expectedNothing, deployer2.getUndeployedUnits());
  |   |        assertEquals(DeploymentState.ERROR, main.getDeploymentState(deployment.getName()));
  |   | +      
  |   | +      main.removeDeployment(deployment);
  |   | +      main.checkComplete();
  |   |     }
  |   | 
  | 

Well actually, that's missing a main.process(), but since main.process()
is currently wrongly doing nothing it doesn't effect the conclusion. ;-)

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098818#4098818

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098818



More information about the jboss-dev-forums mailing list