[jboss-jira] [JBoss JIRA] (AS7-2847) TS: Clustering tests cannot be run for single test with -Dtest=X

Ondrej Zizka (JIRA) jira-events at lists.jboss.org
Thu Oct 4 05:47:03 EDT 2012


    [ https://issues.jboss.org/browse/AS7-2847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12723932#comment-12723932 ] 

Ondrej Zizka commented on AS7-2847:
-----------------------------------

Until then, you need to manually edit pom.xml when running a single test.
                
> 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 at 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


More information about the jboss-jira mailing list