>     public BaseSwiftApiLiveTest() {
>        provider = "openstack-swift";
>     }
>  
> +   @BeforeClass
> +   public void setupRegions() {
> +      String key = "test." + provider + ".region";
> +
> +      if (System.getProperties().containsKey(key)) {
> +         regions.add(System.getProperty(key));
> +      }
> +      else {
> +         regions = api.configuredRegions();
> +      }

```
String providedRegion = System.getProperty("test." + provider + ".region");
if (providedRegion != null) {
  regions = ImmutableSet.of(providedRegion);
} else {
  regions = api.configuredRegions();
}
```
?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/73/files#r8710403

Reply via email to