You might need to define allTests. Something like this might work better:
cd testsuite/integration/basic/
mvn install -Dts.noSmoke -Dtest=org.jboss.as.test.integration.jpa.basic.entitymanagerfactorytest.EntityManagerFactoryTestCase -DallTests
Could you try again like this (after building AS8 first).
On 04/18/2013 12:29 PM, Gunnar Morling wrote:
_______________________________________________Hi all,
I'm having a problem with running single tests on jboss-as/master.
If I run all the "basic" integration tests (via ./integration-tests.sh
test -Dts.basic), everything works fine. But if when I run a certain
test only (/integration-tests.sh test -Dts.basic
-Dtest=NegativeValidationTestCase), that one will fail.
The log says:
org.jboss.msc.service.DuplicateServiceException: Service
jboss.connector.connection-factory.java:jboss/exported/bv/VCF is already
registered
(See http://pastebin.com/DkrwVgU5 for the complete stack trace). IIUC
this factory is registered by this test itself, but somehow it fails to
be properly removed/cleaned up when only this single test is run.
Does anyone have an idea what's the cause for this and how it can be
avoided?
Thanks a lot,
--Gunnar
jboss-as7-dev mailing list
jboss-as7-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev