Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-2847

TS: Clustering tests cannot be run for single test with -Dtest=X

XMLWordPrintable

      Maybe I missed something?

      ./integration-tests.sh clean install -Dts.clust -Dts.noSmoke

      works okay, but when I do:

      ./integration-tests.sh clean install -Dts.clust -Dts.noSmoke -Dtest=org.jboss.as.test.clustering.cluster.ClusteredWebTestCase.java

      then I get:

      -------------------------------------------------------
       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
      

      Thanks

              rhn-engineering-rhusar Radoslav Husar
              rhn-engineering-rhusar Radoslav Husar
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: