jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Phillips <notificati...@github.com>
Subject Re: [jclouds] Prefer OpenStack Regions (#463)
Date Wed, 13 Aug 2014 17:55:56 GMT
> @@ -51,16 +51,16 @@
>     private Map<LoadBalancer, Set<Node>> nodes = Maps.newHashMap();
>  
>     public void testCreateLoadBalancers() {
> -      assertTrue(api.getConfiguredZones().size() > 0, "Need to have some zones!");
> -      Logger.getAnonymousLogger().info("running against zones " + api.getConfiguredZones());
> -      for (String zone : api.getConfiguredZones()) {
> -         Logger.getAnonymousLogger().info("starting lb in zone " + zone);
> -         LoadBalancer lb = api.getLoadBalancerApiForZone(zone).create(
> -                  CreateLoadBalancer.builder().name(prefix + "-" + zone).protocol("HTTP").port(80).virtualIPType(
> +      assertTrue(api.getConfiguredRegions().size() > 0, "Need to have some regions!");

[minor] `!api.getConfiguredRegions().isEmpty()`

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/463/files#r16192600
Mime
View raw message