[jboss-dev-forums] [Design of POJO Server] - Re: Testing Bootstrap Dependencies

bstansberry@jboss.com do-not-reply at jboss.com
Mon Sep 22 10:57:46 EDT 2008


You shouldn't add the Ejb3Deployer
 tag.  The fact that the deployers are deployed before anything in deploy/ is one of the things being tested.

Have a look at the tests in the testsuite module org.jboss.test.deployers package, e.g. org.jboss.test.deployers.ear.test.EARDeploymentUnitTestCase.  Those tests work by deploying something into a running AS and then using some utilities to remotely invoke on the MainDeployer and check the status of the deployments.  Yours could do much the same thing, except you ensure the deployment is already there before the AS even starts.

Note that I *think* Adrian Brock wants the way those org.jboss.test.deployers unit tests work changed though. I don't recall the specifics; just recall a comment along those lines.

Also, as you confirm failures, please open separate JIRA issues for each; if its an EJB3 failure, in EJB3 project, otherwise in JBAS.

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

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



More information about the jboss-dev-forums mailing list