mirror of https://github.com/apache/jclouds.git
fixed UK provider/region not working + regression tests
This commit is contained in:
parent
8752b29b16
commit
e28773337e
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue