[
https://issues.jboss.org/browse/AS7-2847?page=com.atlassian.jira.plugin.s...
]
Ondrej Zizka resolved AS7-2847.
-------------------------------
Resolution: Deferred
Unfortunatelly, this is the problem of having multiple executions.
With -Dtest, maven crassly ignores execution filters and runs it in all executions. Hence
the error.
There's no way (I know of) to make this work until a RFE I filled almost a year ago is
implemented. See AS7-2007 for a link.
TS: Clustering tests cannot be run for single test with -Dtest=X
----------------------------------------------------------------
Key: AS7-2847
URL:
https://issues.jboss.org/browse/AS7-2847
Project: Application Server 7
Issue Type: Bug
Components: Clustering, Documentation, Test Suite
Affects Versions: 7.1.0.Beta1, 7.1.0.Final
Reporter: Radoslav Husar
Assignee: Radoslav Husar
Fix For: 7.1.1.Final
Maybe I missed something?
{code}./integration-tests.sh clean install -Dts.clust -Dts.noSmoke{code}
works okay, but when I do:
{code}./integration-tests.sh clean install -Dts.clust -Dts.noSmoke
-Dtest=org.jboss.as.test.clustering.cluster.ClusteredWebTestCase.java{code}
then I get:
{code}
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.jboss.as.test.clustering.cluster.ClusteredWebTestCase
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.915 sec <<<
FAILURE!
Results :
Tests in error:
org.jboss.as.test.clustering.cluster.ClusteredWebTestCase: DeploymentScenario contains
targets not matching any defined Container in the registry. clustering-udp-1. Possible
causes are: No Deployable Container found on Classpath or your have defined a
@org.jboss.arquillian.container.test.api.Deployment with a
@org.jboss.arquillian.container.test.api.TargetsContainer value that does not match any
found/configured Containers (see arquillian.xml container@qualifier)
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
{code}
Thanks
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira