> +            serverId = createServer(zoneId, "nova", 
> Server.Status.ACTIVE).getId();
> +            Server server = serverApi.get(serverId);
> +            assertEquals(server.getStatus(), Server.Status.ACTIVE);
> +         } finally {
> +            serverApi.delete(serverId);
> +         }
> +      }
> +   }
> +
> +   /**
> +    * This needs to be supported by the provider, and is usually not 
> supported.
> +    * However this can be tested on devstack:
> +    * In apis/openstack-nova:
> +    * mvn -Plive clean install 
> "-Dtest.openstack-nova.endpoint=http://localhost:5000/v2.0"; 
> "-Dtest.openstack-nova.identity=demo:demo" 
> "-Dtest.openstack-nova.credential=devstack" 
> "-Dtest=org.jclouds.openstack.nova.v2_0.features.ServerApiLiveTest#testCreateWithNetworkOptions"
> +    */
> +   @Test(enabled = false)

Hm...is there some way we can programmatically test whether to run this test or 
not, rather than adding a disabled test to the code base, that is liable to rot?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/313/files#r10826500

Reply via email to