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

Ondrej Zizka (JIRA) jira-events at lists.jboss.org
Mon Feb 13 15:48:01 EST 2012


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

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

Surefire 2.12 should fix the problem of running the test in each Surefire execution. (Not sure if it's related.)
                
> TS: Clustering tests cant be run for single test with -Dtest=
> -------------------------------------------------------------
>
>                 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
>            Reporter: Radoslav Husar
>            Assignee: Ondrej Zizka
>             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: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list