mirror of https://github.com/apache/jclouds.git
zone -> region in Cinder AvailabilityZoneApiLiveTest
Follow-up to 1205010c
This commit is contained in:
parent
1205010cfa
commit
6cb1558424
|
@ -40,8 +40,8 @@ public class AvailabilityZoneApiLiveTest extends BaseCinderApiLiveTest {
|
||||||
@BeforeClass(groups = {"integration", "live"})
|
@BeforeClass(groups = {"integration", "live"})
|
||||||
public void setupContext() {
|
public void setupContext() {
|
||||||
super.setup();
|
super.setup();
|
||||||
String zone = Iterables.getFirst(api.getConfiguredZones(), "regionOne");
|
String region = Iterables.getFirst(api.getConfiguredRegions(), "regionOne");
|
||||||
availabilityZoneApi = api.getAvailabilityZoneApi(zone);
|
availabilityZoneApi = api.getAvailabilityZoneApi(region);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testListAvailabilityZones() {
|
public void testListAvailabilityZones() {
|
||||||
|
|
Loading…
Reference in New Issue