Avoid hard-coding rackspace region in swift test

This commit is contained in:
Andrew Gaul 2017-09-09 13:42:59 -07:00
parent 5ef5f5423c
commit 6046fc925c
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ public class RegionScopedSwiftBlobStoreParallelLiveTest extends BaseBlobStoreInt
// Override as needed for the right region
protected BlobStore getBlobStore() {
RegionScopedBlobStoreContext ctx = RegionScopedBlobStoreContext.class.cast(view);
return ctx.getBlobStore("US-TX");
return ctx.getBlobStore(ctx.getConfiguredRegions().iterator().next());
}
@Override