diff --git a/providers/cloudloadbalancers-us/src/test/java/org/jclouds/rackspace/cloudloadbalancers/CloudLoadBalancersUSLoadBalancerClientLiveTest.java b/providers/cloudloadbalancers-us/src/test/java/org/jclouds/rackspace/cloudloadbalancers/CloudLoadBalancersUSLoadBalancerClientLiveTest.java index 6610ebcb0e..d54518e51f 100644 --- a/providers/cloudloadbalancers-us/src/test/java/org/jclouds/rackspace/cloudloadbalancers/CloudLoadBalancersUSLoadBalancerClientLiveTest.java +++ b/providers/cloudloadbalancers-us/src/test/java/org/jclouds/rackspace/cloudloadbalancers/CloudLoadBalancersUSLoadBalancerClientLiveTest.java @@ -18,7 +18,10 @@ */ package org.jclouds.rackspace.cloudloadbalancers; +import static org.testng.Assert.assertEquals; + import org.jclouds.cloudloadbalancers.features.LoadBalancerClientLiveTest; +import org.testng.annotations.BeforeGroups; import org.testng.annotations.Test; /** @@ -30,4 +33,11 @@ public class CloudLoadBalancersUSLoadBalancerClientLiveTest extends LoadBalancer public CloudLoadBalancersUSLoadBalancerClientLiveTest() { provider = "cloudloadbalancers-us"; } + + @BeforeGroups(groups = "live") + protected void setup() { + super.setup(); + assertEquals(client.getConfiguredRegions().size(), + CloudLoadBalancersUSPropertiesBuilder.REGIONS.length); + } }