> + options = options.availabilityZone(availabilityZoneId);
> + ServerCreated server = serverApi.create(hostName,
> imageIdForZone(regionId), flavorRefForZone(regionId), options);
> + if (shouldWork) {
> + blockUntilServerInState(server.getId(), serverApi,
> Server.Status.ACTIVE);
> + } else {
> + blockUntilServerInState(server.getId(), serverApi,
> Server.Status.ERROR);
> + }
> +
> + return serverApi.get(server.getId());
> + }
> +
> + @Test
> + public void testCreateInAvailabilityZone() {
> +
> + String server_id1 = null;
> + String server_id2 = null;
Use Java variable naming, e.g. "serverId1"?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/180/files#r6972789