> -    }
> +         }
> +      }
> +   }
> +
> +   @Test
> +   public void testCreateInWrongAvailabilityZone() {
> +      String serverId = null;
> +      for (String zoneId : zones) {
> +         ServerApi serverApi = api.getServerApiForZone(zoneId);
> +         try {
> +            serverId = createServer(zoneId, "err", 
> Server.Status.ERROR).getId();
> +            Server server = serverApi.get(serverId);
> +            assertEquals(server.getStatus(), Server.Status.ERROR);
> +         } finally {
> +            serverApi.delete(serverId);

I actually don't know about this... this is mostly reformatting old code for 
style.

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

Reply via email to