> +    //  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;

Java standard naming of vars serverId1/2

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

Reply via email to