You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jclouds.apache.org by ga...@apache.org on 2017/01/11 02:24:18 UTC

jclouds git commit: Use eu-central-1 region in v4 signer test

Repository: jclouds
Updated Branches:
  refs/heads/master eda96a0ab -> 47350e354


Use eu-central-1 region in v4 signer test

Previously the test tried to create a container in eu-central-1 after
it already existed in us-standard.


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

Branch: refs/heads/master
Commit: 47350e354c22e3c44085be901b6afb5b47b057fc
Parents: eda96a0
Author: Andrew Gaul <ga...@apache.org>
Authored: Tue Jan 10 18:19:28 2017 -0800
Committer: Andrew Gaul <ga...@apache.org>
Committed: Tue Jan 10 18:23:57 2017 -0800

----------------------------------------------------------------------
 .../src/test/java/org/jclouds/aws/s3/AWSS3ClientLiveTest.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jclouds/blob/47350e35/providers/aws-s3/src/test/java/org/jclouds/aws/s3/AWSS3ClientLiveTest.java
----------------------------------------------------------------------
diff --git a/providers/aws-s3/src/test/java/org/jclouds/aws/s3/AWSS3ClientLiveTest.java b/providers/aws-s3/src/test/java/org/jclouds/aws/s3/AWSS3ClientLiveTest.java
index ecdcdab..2e57042 100644
--- a/providers/aws-s3/src/test/java/org/jclouds/aws/s3/AWSS3ClientLiveTest.java
+++ b/providers/aws-s3/src/test/java/org/jclouds/aws/s3/AWSS3ClientLiveTest.java
@@ -165,7 +165,7 @@ public class AWSS3ClientLiveTest extends S3ClientLiveTest {
     * using the "eu-central-1" region which only support signature v4.
     */
    public void testV4SignatureOps() throws InterruptedException {
-       String containerName = getContainerName();
+       String containerName = getScratchContainerName() + "eu";
 	   try {
            BlobStore blobStore = view.getBlobStore();
            Location location = Iterables.tryFind(blobStore.listAssignableLocations(),
@@ -206,7 +206,7 @@ public class AWSS3ClientLiveTest extends S3ClientLiveTest {
            // Cleanup the container.
            blobStore.removeBlob(containerName, blobName);
        } finally {
-           returnContainer(containerName);
+           destroyContainer(containerName);
        }
    }
 }