Repository: jclouds
Updated Branches:
  refs/heads/master 5ef5f5423 -> 6046fc925


Avoid hard-coding rackspace region in swift test


Project: http://git-wip-us.apache.org/repos/asf/jclouds/repo
Commit: http://git-wip-us.apache.org/repos/asf/jclouds/commit/6046fc92
Tree: http://git-wip-us.apache.org/repos/asf/jclouds/tree/6046fc92
Diff: http://git-wip-us.apache.org/repos/asf/jclouds/diff/6046fc92

Branch: refs/heads/master
Commit: 6046fc925c113678f0e0d56bb5e181a1b5d8a086
Parents: 5ef5f54
Author: Andrew Gaul <[email protected]>
Authored: Sat Sep 9 13:42:59 2017 -0700
Committer: Andrew Gaul <[email protected]>
Committed: Sat Sep 9 13:42:59 2017 -0700

----------------------------------------------------------------------
 .../v1/blobstore/RegionScopedSwiftBlobStoreParallelLiveTest.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jclouds/blob/6046fc92/apis/openstack-swift/src/test/java/org/jclouds/openstack/swift/v1/blobstore/RegionScopedSwiftBlobStoreParallelLiveTest.java
----------------------------------------------------------------------
diff --git 
a/apis/openstack-swift/src/test/java/org/jclouds/openstack/swift/v1/blobstore/RegionScopedSwiftBlobStoreParallelLiveTest.java
 
b/apis/openstack-swift/src/test/java/org/jclouds/openstack/swift/v1/blobstore/RegionScopedSwiftBlobStoreParallelLiveTest.java
index dbcea84..f2d0c84 100644
--- 
a/apis/openstack-swift/src/test/java/org/jclouds/openstack/swift/v1/blobstore/RegionScopedSwiftBlobStoreParallelLiveTest.java
+++ 
b/apis/openstack-swift/src/test/java/org/jclouds/openstack/swift/v1/blobstore/RegionScopedSwiftBlobStoreParallelLiveTest.java
@@ -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

Reply via email to