fixed UK provider/region not working + regression tests

This commit is contained in:
danikov 2011-11-21 14:58:39 +00:00
parent 8752b29b16
commit e28773337e
1 changed files with 10 additions and 0 deletions

View File

@ -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);
}
}