[jboss-dev] Re: deployers + failing bootstrap test

Ales Justin ales.justin at gmail.com
Wed Oct 8 05:16:46 EDT 2008


Yeah, I know all this stuff.
And I've been following the forum discussion.
;-)

The bottom thing is that tests are failing:
  - 
https://hudson.jboss.org/hudson/job/JBoss-AS-5.0.x-TestSuite-sun15/974/testReport/org.jboss.test.deployers.jbas5349.test/BootstrapDependenciesTestCase(EJB3Session)/testDeploymentStatus/
  - 
https://hudson.jboss.org/hudson/job/JBoss-AS-5.0.x-TestSuite-sun15/974/testReport/org.jboss.test.deployers.jbas5349.test/BootstrapDependenciesTestCase(EJB3Message)/testDeploymentStatus/

And I also shouldn't get a failing test when I run simple deployers test 
- 'build test -Dtest=deployers' + running 'run -c profileservice'

Looks like to me you're missing exclusions for your test.
Meaning it should be excluded from default, profileservice, ... config
only to be used / picked-up for your custom config.

See how this is done for ProfileService or Spring tests.

Ivo Studensky wrote:
> BootstrapDependenciesTestCase is related to
> https://jira.jboss.org/jira/browse/JBAS-5349 .
> 
> In brief, it creates a testing SAR with name
> Aaabootstrapdependencies-jbas5349.sar, includes a testing module into
> it (for example a JAR of EJB3 session bean) and copy this into the
> deploy directory. Then it starts a server and tests whether the
> deployment of testing SAR was successful or not. (the testing SAR is
> deployed as the first service from /deploy directory because of its
> name)
> 
> The definitions of testing modules are located in
> testsuite/imports/sections/deployers.xml. The definitions of tests
> are located in
> testsuite/imports/config/tests-bootstrap-dependencies.xml. If the
> test failed you can look at particular configuration to the server
> for the reasons, e.g.
> server/bootstrapdependenciesJBAS5349-EJB3Session.
> 
> For more info see related forum:
> http://www.jboss.com/index.html?module=bb&op=viewtopic&t=142232 .
> 
> 
> Have a nice day...
> 



More information about the jboss-development mailing list