[
http://jira.jboss.com/jira/browse/JBAS-2889?page=all ]
Shelly McGowan updated JBAS-2889:
---------------------------------
Assignee: Ryan Campbell (was: Shelly McGowan)
I am unable to reproduce this issue with
https://svn.jboss.org/repos/jbossas/trunk,
Revision 67446.
Ryan, is there more info that you can provide other than what is in the description?
Otherwise, we may want to remove the tests from
being excluded.
./build.sh one-test -Dtest=org.jboss.test.cmp2.ejbselect.EJBSelectUnitTestCase
Searching for build.xml ...
Buildfile: /NotBackedUp/trunk/testsuite/build.xml
Overriding previous definition of reference to jboss.test.classpath
one-test:
[junit] Running org.jboss.test.cmp2.ejbselect.EJBSelectUnitTestCase
[junit] Found log4j.xml: file:/NotBackedUp/trunk/testsuite/output/resources/log4j.xml
[junit] Tests run: 23, Failures: 0, Errors: 0, Time elapsed: 18.055 sec
BUILD SUCCESSFUL
Total time: 23 seconds
./build.sh one-test -Dtest=org.jboss.test.client.test.AppClientUnitTestCase
Searching for build.xml ...
Buildfile: /NotBackedUp/trunk/testsuite/build.xml
one-test:
[junit] Running org.jboss.test.client.test.AppClientUnitTestCase
[junit] Found log4j.xml: file:/NotBackedUp/trunk/testsuite/output/resources/log4j.xml
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 8.52 sec
BUILD SUCCESSFUL
Total time: 13 seconds
./build.sh one-test -Dtest=org.jboss.test.cmp2.ejbselect.EJBSelectUnitTestCase
Searching for build.xml ...
Buildfile: /NotBackedUp/trunk/testsuite/build.xml
one-test:
[junit] Running org.jboss.test.cmp2.ejbselect.EJBSelectUnitTestCase
[junit] Found log4j.xml: file:/NotBackedUp/trunk/testsuite/output/resources/log4j.xml
[junit] Tests run: 23, Failures: 0, Errors: 0, Time elapsed: 2.158 sec
BUILD SUCCESSFUL
Total time: 8 seconds
AppClientUnitTestCase doesn't clean up if it fails
--------------------------------------------------
Key: JBAS-2889
URL:
http://jira.jboss.com/jira/browse/JBAS-2889
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Test Suite
Reporter: Ryan Campbell
Assigned To: Ryan Campbell
Fix For: JBossAS-5.0.0.Beta3
The org.jboss.test.client.test.AppClientUnitTestCase deploys a bunch of services but
fails to clean them.
If you run a CMP test before the AppClientUnitTest, it passes, but if you run it
immediately after, it fails:
> ./build.sh one-test -Dtest=org.jboss.test.cmp2.ejbselect.EJBSelectUnitTestCase
one-test:
[junit] Running org.jboss.test.cmp2.ejbselect.EJBSelectUnitTestCase
[junit] Tests run: 19, Failures: 0, Errors: 0, Time elapsed: 6.04 sec
> ./build.sh one-test -Dtest=org.jboss.test.client.test.AppClientUnitTestCase
[junit] Running org.jboss.test.client.test.AppClientUnitTestCase
[junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 3.149 sec
[junit] Test org.jboss.test.client.test.AppClientUnitTestCase FAILED
> ./build.sh one-test -Dtest=org.jboss.test.cmp2.ejbselect.EJBSelectUnitTestCase
[junit] Running org.jboss.test.cmp2.ejbselect.EJBSelectUnitTestCase
[junit] Tests run: 19, Failures: 0, Errors: 19, Time elapsed: 1.05 sec
[junit] Test org.jboss.test.cmp2.ejbselect.EJBSelectUnitTestCase FAILED
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira