Aled Sage created JCLOUDS-724:
---------------------------------

             Summary: CloudStack live tests: skip instead of fail if feature 
not available
                 Key: JCLOUDS-724
                 URL: https://issues.apache.org/jira/browse/JCLOUDS-724
             Project: jclouds
          Issue Type: Improvement
    Affects Versions: 1.8.0
            Reporter: Aled Sage
            Priority: Minor


When running the CloudStack live test suite against a cloud provider, I got a 
lot of failures that are purely because parts of the API are not exposed by the 
cloud provider.

For example, all ISO tests failed.

It would be nice to skip tests rather than fail if the operations are not 
supported.

The test could first do listApis [1]. If that feature is not available for the 
account being used, then it could throw an org.testng.SkipException.

[1] http://cloudstack.apache.org/docs/api/apidocs-4.4/user/listApis.html




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to